From 76401202dd6d1beaff812b0c7a0a3845568e6397 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Thu, 24 May 2018 17:58:45 +0200 Subject: [PATCH] nicer social signup form --- src/wolnelektury/templates/socialaccount/signup.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/wolnelektury/templates/socialaccount/signup.html b/src/wolnelektury/templates/socialaccount/signup.html index 78df711bb..ef4d5fc45 100644 --- a/src/wolnelektury/templates/socialaccount/signup.html +++ b/src/wolnelektury/templates/socialaccount/signup.html @@ -1,6 +1,7 @@ {% extends "socialaccount/base.html" %} {% load i18n %} +{% load ajaxable_tags %} {% block head_title %}{% trans "Signup" %}{% endblock %} @@ -10,9 +11,13 @@

{% blocktrans with provider_name=account.get_provider.name site_name=site.name %}You are about to use your {{provider_name}} account to login to {{site_name}}. As a final step, please complete the following form:{% endblocktrans %}

-
+ {% csrf_token %} - {{ form.as_p }} + {% if redirect_field_value %} {% endif %} -- 2.20.1