From: Jan Szejko Date: Thu, 24 May 2018 15:58:45 +0000 (+0200) Subject: nicer social signup form X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/76401202dd6d1beaff812b0c7a0a3845568e6397?ds=inline nicer social signup form --- 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 %}