diff --git a/templates/post/post_controls.html b/templates/post/post_controls.html
index 78ee5842..99a8484c 100644
--- a/templates/post/post_controls.html
+++ b/templates/post/post_controls.html
@@ -48,10 +48,10 @@
{% else %}
{{ config.mod.link_move }}
{% endif %}
+{% endif %}
{% if mod|hasPermission(config.mod.editpost, board.uri) %}
{{ config.mod.link_editpost }}
{% endif %}
-{% endif %}
{% endif %}