22{% load allauth i18n %}
33{% load django_bootstrap5 %}
44{% block head_title %}
5- {% trans "Signup" %}
5+ {% trans "Signup" %}
66{% endblock head_title %}
7+ {% block og_title %}
8+ PyLadiesCon Portal - Sign Up
9+ {% endblock og_title %}
10+ {% block og_description %}
11+ Create an account on PyLadiesCon Portal to join as a volunteer, view sponsorships, and be part of the global PyLadies
12+ conference community.
13+ {% endblock og_description %}
714{% block content %}
8- {% element h1 %}
9- {% trans "Sign Up" %}
15+ {% element h1 %}
16+ {% trans "Sign Up" %}
1017{% endelement %}
1118{% setvar link %}
1219< a href ="{{ login_url }} ">
13- {% endsetvar %}
14- {% setvar end_link %}
20+ {% endsetvar %}
21+ {% setvar end_link %}
1522</ a >
1623{% endsetvar %}
1724{% element p %}
1825{% blocktranslate %}Already have an account? Then please {{ link }}sign in{{ end_link }}.{% endblocktranslate %}
1926{% endelement %}
2027{% if not SOCIALACCOUNT_ONLY %}
21- {% url 'account_signup' as action_url %}
22- < form method ="post " action ="{{ action_url }} " class ="entrance signup ">
23- {% csrf_token %}
24- < h3 class ="mb-3 ">
25- Personal Information
26- </ h3 >
27- {% bootstrap_field form.username %}
28- {% bootstrap_field form.email %}
29- {% bootstrap_field form.first_name %}
30- {% bootstrap_field form.last_name %}
31- < h3 class ="mb-3 ">
32- Password
33- </ h3 >
34- {% bootstrap_field form.password1 %}
35- {% bootstrap_field form.password2 %}
36- < h3 class ="mb-3 ">
37- Agreements
38- </ h3 >
39- < div class ="card mb-3 ">
40- < div class ="card-body ">
41- < p >
42- By creating an account, you are agreeing to our terms and conditions.
43- </ p >
44- < div class ="form-check mb-3 ">
45- {{ form.coc_agreement }}
46- < label class ="form-check-label " for ="{{ form.coc_agreement.id_for_label }} ">
47- I agree to the < a href ="https://2025.conference.pyladies.com/en/coc/ "
48- target ="_blank "
49- rel ="noopener noreferrer "> Code of Conduct</ a >
50- </ label >
51- {% if form.coc_agreement.errors %}
52- < div class ="invalid-feedback d-block ">
53- {{ form.coc_agreement.errors }}
54- </ div >
55- {% endif %}
56- < div class ="form-text ">
57- {{ form.coc_agreement.help_text }}
58- </ div >
28+ {% url 'account_signup' as action_url %}
29+ < form method ="post " action ="{{ action_url }} " class ="entrance signup ">
30+ {% csrf_token %}
31+ < h3 class ="mb-3 ">
32+ Personal Information
33+ </ h3 >
34+ {% bootstrap_field form.username %}
35+ {% bootstrap_field form.email %}
36+ {% bootstrap_field form.first_name %}
37+ {% bootstrap_field form.last_name %}
38+ < h3 class ="mb-3 ">
39+ Password
40+ </ h3 >
41+ {% bootstrap_field form.password1 %}
42+ {% bootstrap_field form.password2 %}
43+ < h3 class ="mb-3 ">
44+ Agreements
45+ </ h3 >
46+ < div class ="card mb-3 ">
47+ < div class ="card-body ">
48+ < p >
49+ By creating an account, you are agreeing to our terms and conditions.
50+ </ p >
51+ < div class ="form-check mb-3 ">
52+ {{ form.coc_agreement }}
53+ < label class ="form-check-label " for ="{{ form.coc_agreement.id_for_label }} ">
54+ I agree to the < a href ="https://2025.conference.pyladies.com/en/coc/ " target ="_blank "
55+ rel ="noopener noreferrer "> Code of Conduct</ a >
56+ </ label >
57+ {% if form.coc_agreement.errors %}
58+ < div class ="invalid-feedback d-block ">
59+ {{ form.coc_agreement.errors }}
5960 </ div >
60- < div class ="form-check ">
61- {{ form.tos_agreement }}
62- < label class ="form-check-label " for ="{{ form.tos_agreement.id_for_label }} ">
63- I agree to the < a href ="https://pyladiescon-portal-docs.netlify.app/policies/terms_of_use/ "
64- target ="_blank "
65- rel ="noopener noreferrer "> Terms of Service</ a >
66- </ label >
67- {% if form.tos_agreement.errors %}
68- < div class ="invalid-feedback d-block ">
69- {{ form.tos_agreement.errors }}
70- </ div >
71- {% endif %}
72- < div class ="form-text ">
73- {{ form.tos_agreement.help_text }}
74- </ div >
61+ {% endif %}
62+ < div class ="form-text ">
63+ {{ form.coc_agreement.help_text }}
64+ </ div >
65+ </ div >
66+ < div class ="form-check ">
67+ {{ form.tos_agreement }}
68+ < label class ="form-check-label " for ="{{ form.tos_agreement.id_for_label }} ">
69+ I agree to the < a href ="https://pyladiescon-portal-docs.netlify.app/policies/terms_of_use/ "
70+ target ="_blank " rel ="noopener noreferrer "> Terms of Service</ a >
71+ </ label >
72+ {% if form.tos_agreement.errors %}
73+ < div class ="invalid-feedback d-block ">
74+ {{ form.tos_agreement.errors }}
75+ </ div >
76+ {% endif %}
77+ < div class ="form-text ">
78+ {{ form.tos_agreement.help_text }}
7579 </ div >
7680 </ div >
7781 </ div >
78- {{ redirect_field }}
79- < div class ="d-grid gap-2 ">
80- < button class ="btn btn-primary btn-lg " type ="submit ">
81- {% trans "Sign Up" %}
82- </ button >
83- </ div >
84- </ form >
82+ </ div >
83+ {{ redirect_field }}
84+ < div class ="d-grid gap-2 ">
85+ < button class ="btn btn-primary btn-lg " type ="submit ">
86+ {% trans "Sign Up" %}
87+ </ button >
88+ </ div >
89+ </ form >
8590{% endif %}
8691{% if PASSKEY_SIGNUP_ENABLED %}
87- {% element hr %}
92+ {% element hr %}
8893{% endelement %}
8994{% element button href=signup_by_passkey_url tags="prominent,signup,outline,primary" %}
9095{% trans "Sign up using a passkey" %}
9196{% endelement %}
9297{% endif %}
9398{% if SOCIALACCOUNT_ENABLED %}
94- {% include "socialaccount/snippets/login.html" with page_layout="entrance" %}
99+ {% include "socialaccount/snippets/login.html" with page_layout="entrance" %}
95100{% endif %}
96- {% endblock content %}
101+ {% endblock content %}
0 commit comments