mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-02 11:52:27 +02:00
bulma in login and signup views
This commit is contained in:
parent
66ce8f4df3
commit
6264786229
3 changed files with 7 additions and 6 deletions
|
@ -2,13 +2,14 @@
|
|||
|
||||
{% block title %}Connexion{% endblock %}
|
||||
|
||||
{% block content_title %}Connexion{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Connexion</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button type="submit">Se connecter</button>
|
||||
<a href="{% url 'accounts:signup' %}">Créer un compte</button>
|
||||
<button class="button is-primary" type="submit">Se connecter</button>
|
||||
<a href="{% url 'accounts:signup' %}">Créer un compte</a>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
|
@ -1,13 +1,13 @@
|
|||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Créer un compte{% endblock %}
|
||||
{% block content_title %}Créer un compte{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Créer un compte</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button type="submit">Valider</button>
|
||||
<button class="button is-primary" type="submit">Valider</button>
|
||||
</form>
|
||||
|
||||
{% endblock %}
|
|
@ -117,7 +117,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/4.1/topics/i18n/
|
||||
|
||||
LANGUAGE_CODE = "en-us"
|
||||
LANGUAGE_CODE = "fr-FR"
|
||||
|
||||
TIME_ZONE = "Europe/Paris"
|
||||
|
||||
|
|
Loading…
Reference in a new issue