diff options
Diffstat (limited to 'templates/post_form.html')
| -rw-r--r-- | templates/post_form.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html index 0d6b388b..528f9794 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -2,7 +2,9 @@ {{ antibot.html() }} {% if id %}<input type="hidden" name="thread" value="{{ id }}">{% endif %} {{ antibot.html() }} +{% if board.uri not in config.overboards|keys %} <input type="hidden" name="board" value="{{ board.uri }}"> +{% endif %} {{ antibot.html() }} {% if current_page %} <input type="hidden" name="page" value="{{ current_page }}"> @@ -56,6 +58,14 @@ </td> </tr> {% endif %} + {% if board.uri in config.overboards|keys %} + <tr><th>Board</th><td> +<select style="float: left; width: 185px;" name="board"> + {% for myboard in boards %} + <option value="{{ myboard['uri'] }}">{{ myboard['uri'] }} ( {{ myboard['title'] }} )</option> + {% endfor %} + </select></td></tr> + {% endif %} {% if not config.field_disable_comment or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}<tr> <th> {% trans %}Comment{% endtrans %} |
