add no attachments detection
This commit is contained in:
parent
c0d5800bd4
commit
c169616471
@ -5,6 +5,7 @@
|
||||
- post_url ( the url of the post form )
|
||||
- reference ( the post we are replying to, or empty string if it's an op )
|
||||
- button ( the text for the reply button )
|
||||
- files ( bool, do we allow attachments ? )
|
||||
}}
|
||||
<form action="{{post_url}}" enctype="multipart/form-data" name="post" method="post">
|
||||
<input type="hidden" name="reference" value="{{reference}}" />
|
||||
@ -37,6 +38,7 @@
|
||||
<textarea id="postform_message" name="message" cols=40 rows=5></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
{{#files}}
|
||||
<tr>
|
||||
<th>
|
||||
File
|
||||
@ -45,6 +47,7 @@
|
||||
<input id="postform_attachment" type="file" name="attachment" />
|
||||
</td>
|
||||
</tr>
|
||||
{{/files}}
|
||||
<tr>
|
||||
<th>
|
||||
Get Dubs
|
||||
|
Reference in New Issue
Block a user