forked from leftypol/leftypol
Add ['overboard_post_form'] to allow overboard post forms. Adjustments to ukko theme to support this
This commit is contained in:
parent
aa8eb39dab
commit
19c0f384a5
4 changed files with 21 additions and 5 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue