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; vertical-align: text-top;
} }
#postform_attachment { .postform_attachment {
max-width: 330px; max-width: 330px;
} }

View File

@ -46,7 +46,15 @@
{{#i18n.Translations}}{{file}}{{/i18n.Translations}} {{#i18n.Translations}}{{file}}{{/i18n.Translations}}
</th> </th>
<td> <td>
<input id="postform_attachment" type="file" name="attachment" /> <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 class="postform_attachment" id="postform_attachment_1" type="file" name="attachment_1" />
</td> </td>
</tr> </tr>
{{/files}} {{/files}}