Blocks in view: user.form.edit

This commit is contained in:
xdrm-brackets 2017-11-08 14:00:27 +01:00
parent 7a2248f7da
commit 73b7b26b63
1 changed files with 46 additions and 17 deletions

View File

@ -1,26 +1,55 @@
<form class='neutral'>
{% block form_tag %} <form class='neutral'> {% endblock %}
<!-- Recherche d'utilisateur -->
{% block search %}
{% block search_input %}
<input id='edit_search_keyword' type='text' class='search' placeholder='Recherche...'><br>
<input id='edit_search_id' type='hidden' value=''>
{% endblock %}
<!-- Indice du resultat -->
{% block search_submit %}
<span class='edit_search_view'>utilisateur <span class='edit_search_num'>0</span> sur <span class='edit_search_sum'>0</span></span><br><br>
<button id='edit_search_submit' class='search'>Trouver/Suivant</button><br>
{% endblock %}
{% endblock %}
<br><br><hr class='OR' data-label='PUIS' /><br><br>
<!-- Modification d'utilisateur -->
{% block edit %}
{% block edit_input %}
<input id='edit_code' type='text' placeholder='CO-DE-RF-ID'><br>
<span class='error-msg edit_code'></span><br>
<input id='edit_username' type='text' placeholder='Username'><br>
<span class='error-msg edit_username'></span><br>
<input id='edit_firstname' type='text' placeholder='Firstname'><br>
<span class='error-msg edit_firstname'></span><br>
<input id='edit_lastname' type='text' placeholder='Lastname'><br>
<span class='error-msg edit_lastname'></span><br>
<input id='edit_mail' type='text' placeholder='Mail'><br>
<span class='error-msg edit_mail'></span><br>
{% endblock %}
{% block edit_submit %}
<button id='edit_submit' disabled>Modifier</button>
{% endblock %}
{% endblock %}
</form>