aboutsummaryrefslogtreecommitdiffstats
path: root/alphabetlearning/templates/account/signup.html
blob: 9dd81fd70f3ccc110f1bba46f05950db1681e948 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  {% extends "account/base_entrance.html" %}
  {% load allauth i18n %}
    {% block head_title %}
    {% trans "Signup" %}
    {% endblock head_title %}
    {% block content %}
    {% element h1 %}
    {% trans "Sign Up" %}
    <p>There are lots of benefits to signing up!</p>
    {% endelement %}
    {% setvar link %}
    <a href="{{ login_url }}">
      {% endsetvar %}
      {% setvar end_link %}
    </a>
    {% endsetvar %}
    <p>{% blocktranslate %}Already have an account? Then please {{ link }}sign in{{ end_link }}.{% endblocktranslate %}</p>
    {% if not SOCIALACCOUNT_ONLY %}
      {% url 'account_signup' as action_url %}
      {% element form form=form method="post" action=action_url tags="entrance,signup" %}
      {% slot body %}
      {% csrf_token %}
      {% element fields form=form unlabeled=True %}
      {% endelement %}
      {{ redirect_field }}
      {% endslot %}
      {% slot actions %}
      {% element button tags="prominent,signup" type="submit" %}
      {% trans "Sign Up" %}
      {% endelement %}
      {% endslot %}
      {% endelement %}
      {% endif %}
      {% if SOCIALACCOUNT_ENABLED %}
      {% include "socialaccount/snippets/login.html" with page_layout="entrance" %}
      {% endif %}
    {% endblock content %}