1751: Voir les évaluations et les évaluateurs d'un candidat lors de la visualisation...
[auf_rh_dae.git] / project / recrutement / templates / admin / recrutement / proxycandidat / change_form.html
CommitLineData
8e0d552d
NBV
1{% extends "admin/base_site.html" %}
2{% load i18n admin_modify adminmedia %}
3
4{% block extrahead %}{{ block.super }}
5{% url admin:jsi18n as jsi18nurl %}
6<script type="text/javascript" src="{{ jsi18nurl|default:"../../../jsi18n/" }}"></script>
7{{ media }}
8{% endblock %}
9
10{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/forms.css" />{% endblock %}
11
12{% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %}
13
14{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %}
15
16{% block breadcrumbs %}{% if not is_popup %}
17<div class="breadcrumbs">
18 <a href="../../../">{% trans "Home" %}</a> &rsaquo;
19 <a href="../../">{{ app_label|capfirst|escape }}</a> &rsaquo;
20 {% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} &rsaquo;
21 {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %}
22</div>
23{% endif %}{% endblock %}
24
25{% block content %}<div id="content-main">
26{% block object-tools %}
27{% if change %}{% if not is_popup %}
28 <ul class="object-tools"><li><a href="history/" class="historylink">{% trans "History" %}</a></li>
29 {% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
30 </ul>
31{% endif %}{% endif %}
32{% endblock %}
33<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 %}
34<div>
35{% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
36{% if save_on_top %}{% submit_row %}{% endif %}
37{% if errors %}
38 <p class="errornote">
39 {% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
40 </p>
41 {{ adminform.form.non_field_errors }}
42{% endif %}
43
44{% for fieldset in adminform %}
45 {% include "admin/includes/fieldset.html" %}
46{% endfor %}
47
48{% block after_field_sets %}{% endblock %}
49
50{% for inline_admin_formset in inline_admin_formsets %}
51 {% include inline_admin_formset.opts.template %}
52{% endfor %}
53
54<fieldset class="module aligned ">
55 <h2>Pièces jointes</h2>
56 {% for p in original.pieces_jointes %}
57 <div class="form-row">
572c8d08
NBV
58 <label>{{ p.get_nom_display }}:</label>
59 <p><a href="{{ p.path.url }}">{{ p.path.url }}</a></p>
8e0d552d
NBV
60 </div>
61 {% endfor %}
62</fieldset>
63
64{% block after_related_objects %}{% endblock %}
65
66{% submit_row %}
67
68{% if adminform and add %}
69 <script type="text/javascript">document.getElementById("{{ adminform.first_field.id_for_label }}").focus();</script>
70{% endif %}
71
72{# JavaScript for prepopulated fields #}
73{% prepopulated_fields_js %}
74
75</div>
76</form></div>
77{% endblock %}