diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-15 21:01:31 +0100 |
commit | eeaddb27560d723ca7d61359744ceb2709fccd2d (patch) | |
tree | 04ddbc49ae7b73d5f5a9e1716d7227aecd3b9f85 /alphabetlearning/templates/account/signup.html | |
parent | 7a3044c859043837e6c7c95bb4894d04e9b2cbc2 (diff) |
Renamed from pyblackbird_cc to alphabetlearning - everywhere
Diffstat (limited to 'alphabetlearning/templates/account/signup.html')
-rw-r--r-- | alphabetlearning/templates/account/signup.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/alphabetlearning/templates/account/signup.html b/alphabetlearning/templates/account/signup.html new file mode 100644 index 0000000..9dd81fd --- /dev/null +++ b/alphabetlearning/templates/account/signup.html @@ -0,0 +1,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 %} |