baa3826a42
On fait un formulaire d'info non-éditable pour pas que les gens mettent des noms troll
56 lines
1.4 KiB
HTML
56 lines
1.4 KiB
HTML
{% extends "kfet/base_form.html" %}
|
|
|
|
{% block extra_head %}
|
|
{{ negative_form.media }}
|
|
{% endblock %}
|
|
|
|
{% block title %}
|
|
{% if account.user == request.user %}
|
|
Modification de mes informations
|
|
{% else %}
|
|
{{ account.trigramme }} - Édition
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block header-title %}
|
|
{% if account.user == request.user %}
|
|
Modification de mes informations
|
|
{% else %}
|
|
Édition du compte {{ account.trigramme }}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block footer %}
|
|
{% if not account.is_team %}
|
|
{% include "kfet/base_footer.html" %}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
|
|
<form action="" method="post" class="form-horizontal">
|
|
{% csrf_token %}
|
|
{% include 'kfet/form_snippet.html' with form=user_info_form %}
|
|
{% include 'kfet/form_snippet.html' with form=account_form %}
|
|
{% include 'kfet/form_snippet.html' with form=group_form %}
|
|
{% include 'kfet/form_snippet.html' with form=pwd_form %}
|
|
{% include 'kfet/form_snippet.html' with form=negative_form %}
|
|
{% if perms.kfet.is_team %}
|
|
{% include 'kfet/form_authentication_snippet.html' %}
|
|
{% endif %}
|
|
{% include 'kfet/form_submit_snippet.html' with value="Mettre à jour" %}
|
|
</form>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
$('#id_authz_overdraft_until').datetimepicker({
|
|
format: 'YYYY-MM-DD HH:mm',
|
|
stepping: 5,
|
|
locale: 'fr',
|
|
});
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|