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">
|
<input type="hidden" name="syntax-highlight" value="none">
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
|
{% if !args.no_file_upload %}
|
||||||
<div>
|
<div>
|
||||||
<label>File attachment</label>
|
<label>File attachment</label>
|
||||||
<br>
|
<br>
|
||||||
<input style="width: 100%;" type="file" id="file" name="file">
|
<input style="width: 100%;" type="file" id="file" name="file">
|
||||||
</div>
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<label>Content</label>
|
<label>Content</label>
|
||||||
<br>
|
<br>
|
||||||
|
|
Loading…
Reference in a new issue