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.
47 lines
1.5 KiB
47 lines
1.5 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">
|
|
{% if form.errors %}
|
|
<div class="cell medium-6 large-6 topblock padding10">
|
|
<div class="bubble">
|
|
<div>
|
|
{% for field in form %}
|
|
{% if field.errors %}
|
|
{% for error in field.errors %}
|
|
<div class="alert">{{ field.label }} : {{ error }}</div>
|
|
{% endfor %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="cell medium-6 large-6 padding10">
|
|
<div class="bubble">
|
|
{% 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 %}
|
|
|