conditionally render file upload

This commit is contained in:
Hayden 2022-09-30 22:11:25 -08:00
parent fc3998243b
commit 82c30ce6cd

View file

@ -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>