Archived
1
0

* add 2 file support

* TODO: add nicer widget for multifile
This commit is contained in:
Jeff Becker 2016-02-29 08:14:19 -05:00
parent 9a6f3ef4ed
commit a40aad33d1
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
2 changed files with 10 additions and 2 deletions

View File

@ -401,7 +401,7 @@ input, textarea {
vertical-align: text-top;
}
#postform_attachment {
.postform_attachment {
max-width: 330px;
}

View File

@ -41,12 +41,20 @@
</td>
</tr>
{{#files}}
<tr>
<th>
{{#i18n.Translations}}{{file}}{{/i18n.Translations}}
</th>
<td>
<input class="postform_attachment" id="postform_attachment_0" type="file" name="attachment_0" />
</td>
</tr>
<tr>
<th>
{{#i18n.Translations}}{{file}}{{/i18n.Translations}}
</th>
<td>
<input id="postform_attachment" type="file" name="attachment" />
<input class="postform_attachment" id="postform_attachment_1" type="file" name="attachment_1" />
</td>
</tr>
{{/files}}