瀏覽代碼

Fix Twig templte syntax error

pull/47/merge
Michael Walker GitHub 7 年之前
父節點
當前提交
a7e9b3e853
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      templates/post_form.html

+ 1
- 1
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…
取消
儲存