Browse Source

Fix Twig templte syntax error

pull/40/head
Michael Walker 8 years ago
committed by GitHub
parent
commit
a7e9b3e853
  1. 2
      templates/post_form.html

2
templates/post_form.html

@ -67,7 +67,7 @@
{% if not (not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %}
{% if not (not config.field_disable_email or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %}
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" />
<input id="spoiler" name="spoiler" type="checkbox"><label for="spoiler">Spoiler Image</label> <!-- General idea, but it might need those {% code %}-->
<input id="spoiler" name="spoiler" type="checkbox"><label for="spoiler">Spoiler Image</label>
{% endif %}
{% endif %}
</td>

Loading…
Cancel
Save