From c47b5cdc7243e7a00a8b7669fefaf8404aa9b7b4 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 28 Oct 2017 22:17:46 +0200 Subject: [PATCH] Add form to send selected card in settings page --- hosting/templates/hosting/settings.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosting/templates/hosting/settings.html b/hosting/templates/hosting/settings.html index 96e811cf..6b5acbee 100644 --- a/hosting/templates/hosting/settings.html +++ b/hosting/templates/hosting/settings.html @@ -67,7 +67,11 @@ {% if card.preferred %} {% trans "DEFAULT" %} {% else %} - {% trans "SELECT" %} +
+ {% csrf_token %} + + {% trans "SELECT" %} +
{% endif %}