Allow the comment box to be disabled in the post form
This commit is contained in:
parent
1cf546d363
commit
c1c8e387f6
@ -9,6 +9,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if mod %}<input type="hidden" name="mod" value="1">{% endif %}
|
{% if mod %}<input type="hidden" name="mod" value="1">{% endif %}
|
||||||
<table>
|
<table>
|
||||||
|
{% if id %}<tr>
|
||||||
|
<td colspan="2"><div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div></td>
|
||||||
|
</tr>{% endif %}
|
||||||
{% if not config.field_disable_name or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}<tr>
|
{% if not config.field_disable_name or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}<tr>
|
||||||
<th>
|
<th>
|
||||||
{% trans %}Name{% endtrans %}
|
{% trans %}Name{% endtrans %}
|
||||||
@ -52,7 +55,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr>
|
{% if not config.field_disable_comment or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %}<tr>
|
||||||
<th>
|
<th>
|
||||||
{% trans %}Comment{% endtrans %}
|
{% trans %}Comment{% endtrans %}
|
||||||
{{ antibot.html() }}
|
{{ antibot.html() }}
|
||||||
@ -66,7 +69,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>{% endif %}
|
||||||
{% if config.recaptcha %}
|
{% if config.recaptcha %}
|
||||||
<tr>
|
<tr>
|
||||||
<th>
|
<th>
|
||||||
|
Loading…
Reference in New Issue
Block a user