From 070654ccd981221dc7463382c82ef4888896773c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 16 2015 13:23:35 +0000 Subject: Move the CSRF token so that it is always present in the form --- diff --git a/progit/templates/issue.html b/progit/templates/issue.html index 35dec2f..b7dd383 100644 --- a/progit/templates/issue.html +++ b/progit/templates/issue.html @@ -30,6 +30,7 @@ {% if authenticated and form %}
+ {{ form.csrf_token }} {% endif %}

@@ -43,7 +44,6 @@ {% if authenticated and repo_admin %} {{ render_field(form.status) }} - {{ form.csrf_token }} {% else %} Status: {{ issue.status }} {% endif %}