cf2c9df7a1a5c3dc135ea51cb4e790da05211997
[auf_rh_dae.git] / project / rh / templates / admin / rh / dossier / linked.html
1 {% load i18n adminmedia %}
2 <div class="inline-group" id="{{ inline_admin_formset.formset.prefix }}-group">
3 <div class="tabular inline-related {% if forloop.last %}last-related{% endif %}">
4 {{ inline_admin_formset.formset.management_form }}
5 <fieldset class="module">
6 <h2>{{ inline_admin_formset.opts.verbose_name_plural|capfirst }}</h2>
7 <table>
8 <tbody>
9 {% for inline_admin_form in inline_admin_formset %}
10 <tr class="{% cycle "row1" "row2" %} {% if inline_admin_form.original or inline_admin_form.show_url %}has_original{% endif %}{% if forloop.last %} empty-form{% endif %}"
11 id="{{ inline_admin_formset.formset.prefix }}-{% if not forloop.last %}{{ forloop.counter0 }}{% else %}empty{% endif %}">
12 <td class="original">
13 {% if inline_admin_form.original %}
14 <a href="{% url dossier_apercu inline_admin_form.original.pk %}" onclick="return showAddAnotherPopup(this);">{{ inline_admin_form.original }}</a>
15 {% endif %}
16 </td>
17 </tr>
18 {% endfor %}
19 </tbody>
20 </table>
21 </fieldset>
22 </div>
23 </div>