Debian Codegraph @

allauth/templates/account/signup.html

raw
1 {% extends "account/base_entrance.html" %}
2 {% load allauth i18n %}
3 {% block head_title %}
4 {% trans "Signup" %}
5 {% endblock head_title %}
6 {% block content %}
7 {% element h1 %}
8 {% trans "Sign Up" %}
9 {% endelement %}
10 {% setvar link %}
11 <a href="{{ login_url }}">
12 {% endsetvar %}
13 {% setvar end_link %}
14 </a>
15 {% endsetvar %}
16 {% element p %}
17 {% blocktranslate %}Already have an account? Then please {{ link }}sign in{{ end_link }}.{% endblocktranslate %}
18 {% endelement %}
19 {% if not SOCIALACCOUNT_ONLY %}
20 {% url 'account_signup' as action_url %}
21 {% element form form=form method="post" action=action_url tags="entrance,signup" %}
22 {% slot body %}
23 {% csrf_token %}
24 {% element fields form=form unlabeled=True %}
25 {% endelement %}
26 {{ redirect_field }}
27 {% endslot %}
28 {% slot actions %}
29 {% element button tags="prominent,signup" type="submit" %}
30 {% trans "Sign Up" %}
31 {% endelement %}
32 {% endslot %}
33 {% endelement %}
34 {% endif %}
35 {% if PASSKEY_SIGNUP_ENABLED %}
36 {% element hr %}
37 {% endelement %}
38 {% element button href=signup_by_passkey_url tags="prominent,signup,outline,primary" %}
39 {% trans "Sign up using a passkey" %}
40 {% endelement %}
41 {% endif %}
42 {% if SOCIALACCOUNT_ENABLED %}
43 {% include "socialaccount/snippets/login.html" with page_layout="entrance" %}
44 {% endif %}
45 {% endblock content %}