From fcfc56e132c665ab27c49015918432989883d4ec Mon Sep 17 00:00:00 2001 From: PCoder Date: Sun, 23 Sep 2018 16:15:48 +0200 Subject: [PATCH] Move csrf_token out of the form loop --- hosting/templates/hosting/settings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/templates/hosting/settings.html b/hosting/templates/hosting/settings.html index 62dcc947..56818cbf 100644 --- a/hosting/templates/hosting/settings.html +++ b/hosting/templates/hosting/settings.html @@ -18,8 +18,8 @@

{%trans "Billing Address" %}


+ {% csrf_token %} {% for field in form %} - {% csrf_token %} {% bootstrap_field field show_label=False type='fields' bound_css_class='' %} {% endfor %}