Blocks in view: settings/admin/create

This commit is contained in:
xdrm-brackets 2017-11-08 13:51:55 +01:00
parent 775a9caee4
commit d0515239c5
1 changed files with 18 additions and 7 deletions

View File

@ -1,4 +1,6 @@
<form class='valid'> {% block form_tag %} <form class='valid'> {% endblock %}
{% block input %}
<input id='admin_username' type='text' placeholder='Identifiant'><br> <input id='admin_username' type='text' placeholder='Identifiant'><br>
<span class='error-msg admin_username'></span><br> <span class='error-msg admin_username'></span><br>
@ -6,9 +8,18 @@
<input id='admin_mail' type='text' placeholder='Adresse mail'><br> <input id='admin_mail' type='text' placeholder='Adresse mail'><br>
<span class='error-msg admin_mail'></span><br> <span class='error-msg admin_mail'></span><br>
{% endblock %}
{% block generated %}
<input id='admin_password' type='text' placeholder='Mot de passe généré...' disabled><br> <input id='admin_password' type='text' placeholder='Mot de passe généré...' disabled><br>
{% endblock %}
{% block submit %}
<button id='admin_submit'>Créer l'administrateur</button> <button id='admin_submit'>Créer l'administrateur</button>
{% endblock %}
</form> </form>