forked from DGNum/gestioCOF
73 lines
1.9 KiB
HTML
73 lines
1.9 KiB
HTML
{% extends "kfet/base.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 content-header-title %}
|
|
{% if account.user == request.user %}
|
|
Modification de mes informations
|
|
{% else %}
|
|
Édition du compte {{ account.trigramme }}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
<div class="col-sm-4 col-md-3 col-content-left">
|
|
<div class="content-left">
|
|
{% include 'kfet/left_account.html' %}
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-8 col-md-9 col-content-right">
|
|
{% include "kfet/base_messages.html" %}
|
|
<div class="content-right">
|
|
<div class="content-right-block">
|
|
<form action="{% url 'kfet.account.update' account.trigramme %}" method="post">
|
|
{% csrf_token %}
|
|
{{ user_form.as_p }}
|
|
{{ cof_form.as_p }}
|
|
{{ account_form.as_p }}
|
|
{{ group_form.as_p }}
|
|
{{ pwd_form.as_p }}
|
|
{{ negative_form.non_field_errors }}
|
|
{% for field in negative_form %}
|
|
{{ field.errors }}
|
|
{{ field.label_tag }}
|
|
<div style="position:relative">{{ field }}</div>
|
|
{% if field.help_text %}
|
|
<p class="help">{{ field.help_text|safe }}</p>
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% if perms.kfet.is_team %}
|
|
<input type="password" name="KFETPASSWORD">
|
|
{% endif %}
|
|
<input type="submit" value="Mettre à jour">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
$(document).ready(function() {
|
|
$('#id_authz_overdraft_until').datetimepicker({
|
|
format: 'YYYY-MM-DD HH:mm',
|
|
stepping: 5,
|
|
locale: 'fr',
|
|
});
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|