summaryrefslogtreecommitdiff
path: root/templates/post_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post_form.html')
-rw-r--r--templates/post_form.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index d2e644b3..ea3ac765 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -92,6 +92,18 @@
</td>
</tr>
{% endif %}
+ {% if config.allowed_tags and not id %}
+ <tr>
+ <th>{% trans %}Tag{% endtrans %}</th>
+ <td>
+ <select name="tag">
+ {% for id, tag in config.allowed_tags %}
+ <option value="{{ id }}">{{ tag }}</option>
+ {% endfor %}
+ </select>
+ </td>
+ </tr>
+ {% endif %}
<tr id="upload">
<th>
{% trans %}File{% endtrans %}