1 {% extends
"base.html" %}
2 {% load i18n admin_static admin_modify %}
3 {% load url from future %}
7 <link rel=
"stylesheet" type=
"text/css" href=
"{{ MEDIA_URL }}css/edit_info.css" media=
"all"/>
13 {% for message in messages %}{%endfor%}
14 <ul class=
"messagelist">
15 <li class=
"info">Vos informations ont été modifiées avec succès.
</li>
19 <div id=
"content-main">
21 <form {% if has_file_field %}
enctype=
"multipart/form-data" {% endif %}
action=
"{{ form_url }}" method=
"post" id=
"{{ opts.module_name }}_form">{% csrf_token %}{% block form_top %}{% endblock %}
23 {% if is_popup %}
<input type=
"hidden" name=
"_popup" value=
"1" />{% endif %}
24 {% if save_on_top %}{% block submit_buttons_top %}{% submit_row %}{% endblock %}{% endif %}
27 {% blocktrans count counter=errors|length %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
29 {{ adminform.form.non_field_errors }}
32 {% block field_sets %}
33 {% for fieldset in adminform %}
34 {% include
"admin/includes/fieldset.html" %}
38 {% block after_field_sets %}{% endblock %}
40 {% block inline_field_sets %}
41 {% for inline_admin_formset in inline_admin_formsets %}
42 {% include inline_admin_formset.opts.template %}
46 {% block after_related_objects %}{% endblock %}
48 {% block submit_buttons_bottom %}{% submit_row %}{% endblock %}
50 {% if adminform and add %}
51 <script type=
"text/javascript">document.getElementById(
"{{ adminform.first_field.id_for_label }}").focus();
</script>
54 {# JavaScript for prepopulated fields #}
55 {% prepopulated_fields_js %}