* add 2 file support
* TODO: add nicer widget for multifile
This commit is contained in:
parent
9a6f3ef4ed
commit
a40aad33d1
@ -401,7 +401,7 @@ input, textarea {
|
|||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
}
|
}
|
||||||
|
|
||||||
#postform_attachment {
|
.postform_attachment {
|
||||||
max-width: 330px;
|
max-width: 330px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,12 +41,20 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{#files}}
|
{{#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>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
{{#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_1" type="file" name="attachment_1" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{/files}}
|
{{/files}}
|
||||||
|
Reference in New Issue
Block a user