From 6961f5b8b5da98413468bb888eb24254e78970ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=81abanowski?= Date: Tue, 2 Jul 2013 18:05:18 -0400 Subject: [PATCH] post_form: move submit button upper when thread field is disabled --- templates/post_form.html | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/templates/post_form.html b/templates/post_form.html index 1727250b..e5cb423c 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -24,24 +24,22 @@ {{ antibot.html() }} + {% 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 config.spoiler_images %} {% endif %} + {% endif %} {% endif %} - - {% if 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 (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)) %} + {% trans %}Subject{% endtrans %} {{ antibot.html() }} - {% else %} - {% trans %}Submit{% endtrans %} - {{ antibot.html() }} - - - {% endif %} {% if config.spoiler_images %} {% endif %} + {% endif %} {% trans %}Comment{% endtrans %} @@ -50,6 +48,11 @@ {{ antibot.html() }} + {% 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))) %} + {% if config.spoiler_images %} {% endif %} + {% endif %} + {% endif %} {% if config.recaptcha %}