From 43af0db4e76f9ed6e6c0b834159f0e97a5f012f6 Mon Sep 17 00:00:00 2001 From: 8chan Date: Sun, 29 Mar 2015 16:39:02 -0700 Subject: [PATCH] oops, didn't exactly test a0c40b7f63 --- templates/mod/edit_post_form.html | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/templates/mod/edit_post_form.html b/templates/mod/edit_post_form.html index 99d387eb..d40d9b05 100644 --- a/templates/mod/edit_post_form.html +++ b/templates/mod/edit_post_form.html @@ -45,11 +45,13 @@

- {% if raw and mod|hasPermission(config.mod.rawhtml) %} - {% trans %}Currently editing raw HTML.{% endtrans %} - {% trans %}Edit markup instead?{% endtrans %} - {% else %} - {% trans %}Edit raw HTML instead?{% endtrans %} + {% if mod|hasPermission(config.mod.rawhtml) %} + {% if raw %} + {% trans %}Currently editing raw HTML.{% endtrans %} + {% trans %}Edit markup instead?{% endtrans %} + {% else %} + {% trans %}Edit raw HTML instead?{% endtrans %} + {% endif %} {% endif %}