1966: Modification de Offre d'emploi (visualisation)
[auf_rh_dae.git] / project / recrutement / templates / admin / recrutement / proxycandidat / change_form.html
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" />
11 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/dae.css" />{% endblock %}
12
13 {% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %}
14
15 {% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %}
16
17 {% block breadcrumbs %}{% if not is_popup %}
18 <div class="breadcrumbs">
19 <a href="../../../">{% trans "Home" %}</a> &rsaquo;
20 <a href="../../">{{ app_label|capfirst|escape }}</a> &rsaquo;
21 {% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} &rsaquo;
22 {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %}
23 </div>
24 {% endif %}{% endblock %}
25
26 {% block content %}<div id="content-main">
27 {% block object-tools %}
28 {% if change %}{% if not is_popup %}
29 <ul class="object-tools"><li><a href="history/" class="historylink">{% trans "History" %}</a></li>
30 {% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
31 <li><a class="historylink" target="_blank" href="/recrutement/candidat_pdf/?id={{original.id}}">Imprimer la fiche du candidat</a></li>
32 </ul>
33 {% endif %}{% endif %}
34 {% endblock %}
35 <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 %}
36 <div>
37 {% if is_popup %}<input type="hidden" name="_popup" value="1" />{% endif %}
38 {% if save_on_top %}{% submit_row %}{% endif %}
39 {% if errors %}
40 <p class="errornote">
41 {% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
42 </p>
43 {{ adminform.form.non_field_errors }}
44 {% endif %}
45
46 {% for fieldset in adminform %}
47 {% include "admin/includes/fieldset.html" %}
48 {% endfor %}
49
50 {% block after_field_sets %}{% endblock %}
51
52 {% for inline_admin_formset in inline_admin_formsets %}
53 {% include inline_admin_formset.opts.template %}
54 {% endfor %}
55
56 <fieldset class="module aligned ">
57 <h2>Pièces jointes</h2>
58 {% for p in original.pieces_jointes %}
59 <div class="form-row">
60 <label>{{ p.get_nom_display }}:</label>
61 <p><a href="{{ p.path.url }}">{{ p.path.url }}</a></p>
62 </div>
63 {% endfor %}
64 </fieldset>
65
66 {% block after_related_objects %}{% endblock %}
67
68 <div class="submit-row">
69 <a href="../" class="default">Retour</a>
70 </div>
71
72 {% if adminform and add %}
73 <script type="text/javascript">document.getElementById("{{ adminform.first_field.id_for_label }}").focus();</script>
74 {% endif %}
75
76 {# JavaScript for prepopulated fields #}
77 {% prepopulated_fields_js %}
78
79 </div>
80 </form>
81 </div>
82 {% endblock %}