ef4d5fc4521421b231871cfd7c3cae5db0a0645c
[wolnelektury.git] / src / wolnelektury / templates / socialaccount / signup.html
1 {% extends "socialaccount/base.html" %}
2
3 {% load i18n %}
4 {% load ajaxable_tags %}
5
6 {% block head_title %}{% trans "Signup" %}{% endblock %}
7
8 {% block content %}
9     <h1>{% trans "Sign Up" %}</h1>
10
11 <p>{% blocktrans with provider_name=account.get_provider.name site_name=site.name %}You are about to use your {{provider_name}} account to login to
12 {{site_name}}. As a final step, please complete the following form:{% endblocktrans %}</p>
13
14 <form class="signup cuteform" id="signup_form" method="post" action="{% url 'socialaccount_signup' %}">
15   {% csrf_token %}
16   <ul>
17     {{ form.username|pretty_field }}
18     {{ form.email|pretty_field }}
19     {{ form.agree_newsletter|pretty_checkbox }}
20   </ul>
21   {% if redirect_field_value %}
22   <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
23   {% endif %}
24   <p><span class="helptext">{{ form.data_processing }}</span></p>
25   <button type="submit">{% trans "Sign Up" %} &raquo;</button>
26 </form>
27
28 {% endblock %}