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 %}