Debian Codegraph @

django_mailman3/templates/account/signup.html

raw
1 {% extends "account/base.html" %}
2
3 {% load i18n %}
4 {% load account socialaccount %}
5 {% load bootstrap_tags %}
6
7 {% block head_title %}{% trans "Signup" %}{% endblock %}
8
9 {% block content %}
10 <h1>{% trans "Sign Up" %}</h1>
11
12 <p>{% blocktrans %}Already have an account? Then please <a href="{{ login_url }}">sign in</a>.{% endblocktrans %}</p>
13
14 {% get_providers as socialaccount_providers %}
15
16 {% if socialaccount_providers %}
17 <p>{% blocktrans with site.name as site_name %}If you do not have a
18 {{ site_name }} account but you have one of these third party accounts, you can
19 create a {{ site_name }} account and sign-in in one step by clicking the third
20 party account.{% endblocktrans %}</p>
21
22 <div class="socialaccount_ballot">
23
24 <ul class="socialaccount_providers list-inline">
25 {% include "socialaccount/snippets/provider_list.html" with process="login" %}
26 </ul>
27
28 {% include "django_mailman3/login_extra_post_providers.html" %}
29
30 <div class="login-or">{% trans 'or' %}</div>
31
32 </div>
33 {% endif %}
34
35 <form class="signup form-horizontal" id="signup_form" method="post" action="{% url 'account_signup' %}">
36 {% bootstrap_form_horizontal form 3 4 %}
37 {% if redirect_field_value %}
38 <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
39 {% endif %}
40 <div class="form-group">
41 <div class="offset-md-3 col-md-4">
42 <button class="btn btn-primary" type="submit">{% trans "Sign Up" %} &raquo;</button>
43 </div>
44 </div>
45 </form>
46
47 {% endblock %}