From dff4954902d5df55013f8b5de2cd3edd244ab1b4 Mon Sep 17 00:00:00 2001 From: lhark Date: Fri, 1 Jul 2016 02:17:11 +0200 Subject: [PATCH] User creation template --- users/templates/users/new_user.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/users/templates/users/new_user.html b/users/templates/users/new_user.html index 951046f6..e6047fab 100644 --- a/users/templates/users/new_user.html +++ b/users/templates/users/new_user.html @@ -1,5 +1,14 @@ -
{% csrf_token %} +{% extends "base.html" %} +{% load bootstrap3 %} + +{% block title %}Re2o : création d'utilisateur{% endblock %} + +{% block content %} +{% bootstrap_form_errors userform %} + + {% csrf_token %} - {{ userform.as_p }} - + {% bootstrap_form userform %} + {% bootstrap_button "Créer" button_type="submit" icon="star" %}
+{% endblock %}