mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-22 11:23:10 +00:00
User creation template
This commit is contained in:
parent
a2370874e3
commit
6347320044
1 changed files with 12 additions and 3 deletions
|
@ -1,5 +1,14 @@
|
||||||
<form class="form-full-width" method="post">{% csrf_token %}
|
{% extends "base.html" %}
|
||||||
|
{% load bootstrap3 %}
|
||||||
|
|
||||||
|
{% block title %}Re2o : création d'utilisateur{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
{% bootstrap_form_errors userform %}
|
||||||
|
|
||||||
|
<form class="form" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ userform.as_p }}
|
{% bootstrap_form userform %}
|
||||||
<input type="submit" value="Créer" />
|
{% bootstrap_button "Créer" button_type="submit" icon="star" %}
|
||||||
</form>
|
</form>
|
||||||
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue