You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.2 KiB
42 lines
1.2 KiB
<!-- templates/registration/signup.html -->
|
|
{% extends 'tournaments/base.html' %}
|
|
{% block head_title %} Création de compte {% endblock %}
|
|
{% block first_title %} Padel Club {% endblock %}
|
|
{% block second_title %} Création de compte {% endblock %}
|
|
|
|
{% block content %}
|
|
{% load static %}
|
|
{% load tz %}
|
|
|
|
<div class="grid-x">
|
|
<div class="bubble">
|
|
<div class="cell medium-6 large-6 my-block">
|
|
{% if form.errors %}
|
|
<div class="alert">
|
|
{% for field, errors in form.errors.items %}
|
|
{% for error in errors %}
|
|
<p>{{ error }}</p>
|
|
{% endfor %}
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<!-- Add non-field errors (if any) -->
|
|
{% if form.non_field_errors %}
|
|
<div class="alert">
|
|
{% for error in form.non_field_errors %}
|
|
<p>{{ error }}</p>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<button type="submit" class="rounded-button">Créer votre compte</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
|