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,14 +1,25 @@
<form class='valid'> {% block form_tag %} <form class='valid'> {% endblock %}
<input id='admin_username' type='text' placeholder='Identifiant'><br> {% block input %}
<span class='error-msg admin_username'></span><br>
<input id='admin_mail' type='text' placeholder='Adresse mail'><br> <input id='admin_username' type='text' placeholder='Identifiant'><br>
<span class='error-msg admin_mail'></span><br> <span class='error-msg admin_username'></span><br>
<input id='admin_password' type='text' placeholder='Mot de passe généré...' disabled><br> <input id='admin_mail' type='text' placeholder='Adresse mail'><br>
<span class='error-msg admin_mail'></span><br>
{% endblock %}
<button id='admin_submit'>Créer l'administrateur</button> {% block generated %}
<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>
{% endblock %}
</form> </form>