mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-25 08:23:46 +00:00
User creation template
This commit is contained in:
parent
d189c5532b
commit
dff4954902
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