summaryrefslogtreecommitdiff
path: root/templates/post_form.html
diff options
context:
space:
mode:
authorMarcin Łabanowski <marcin@6irc.net>2015-04-22 05:54:48 +0200
committerMarcin Łabanowski <marcin@6irc.net>2015-04-22 06:06:34 +0200
commit4014682882d0b390dc099d05e6701521e5f64a31 (patch)
tree0863af973c7d856d55f8d165c96cfdf599b389de /templates/post_form.html
parent4060bf10eda3b17513907332890575566cf6e890 (diff)
fileboard support
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 %}