Commit 8383fc01 authored by GuiΩ's avatar GuiΩ
Browse files

Update register form with all fields

parent cee90634
......@@ -7,7 +7,7 @@ from .models import Utilisateur, Classe
class UtilisateurCreationForm(UserCreationForm):
class Meta:
model = Utilisateur
fields = ('username', 'email')
fields = ('username', 'email', 'first_name', 'last_name', 'nom_latex')
class UtilisateurChangeForm(UserChangeForm):
......
......@@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>Activités Mentales{% block title %}{% endblock%}</title>
{% block head %}{% endblock%}
</head>
<body>
......
......@@ -2,6 +2,13 @@
{% extends 'base.html' %}
{% block title %} - Créer un compte{% endblock %}
{% block head %}
<style>
th {
vertical-align: top;
}
</style>
{% endblock %}
{% block content %}
<h1>Activités Mentales</h1>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment