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">
{%- 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>