conditionally render file upload
This commit is contained in:
parent
fc3998243b
commit
82c30ce6cd
1 changed files with 2 additions and 0 deletions
|
@ -59,11 +59,13 @@
|
|||
<input type="hidden" name="syntax-highlight" value="none">
|
||||
{%- endif %}
|
||||
|
||||
{% if !args.no_file_upload %}
|
||||
<div>
|
||||
<label>File attachment</label>
|
||||
<br>
|
||||
<input style="width: 100%;" type="file" id="file" name="file">
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<label>Content</label>
|
||||
<br>
|
||||
|
|
Loading…
Reference in a new issue