47 lines
1.5 KiB
HTML
47 lines
1.5 KiB
HTML
{% extends "admin/base_site.html" %}
|
|
{% load i18n admin_modify static %}
|
|
|
|
{% block extrahead %}{{ block.super }}
|
|
{% url "admin:jsi18n" as jsi18nurl %}
|
|
<script type="text/javascript" src="{{ jsi18nurl|default:"../../../jsi18n/" }}"></script>
|
|
{{ media }}
|
|
{% endblock %}
|
|
|
|
{% block extrastyle %}
|
|
{{ block.super }}
|
|
<link rel="stylesheet" type="text/css" href="{% static "css/contrat_duplicate.css" %}" />
|
|
{% endblock %}
|
|
|
|
{% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %}
|
|
|
|
{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %}
|
|
|
|
{% block breadcrumbs %}{% if not is_popup %}
|
|
<div class="breadcrumbs">
|
|
<a href="../../../">{% trans "Home" %}</a> ›
|
|
<a href="../../">{{ app_label|capfirst|escape }}</a> ›
|
|
{% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} ›
|
|
<a href="../">{{ contrat }}</a> ›
|
|
{% trans "Duplication" %}
|
|
</div>
|
|
{% endif %}{% endblock %}
|
|
|
|
{% block content %}<div id="content-main">
|
|
<form method="post">{% csrf_token %}
|
|
<div>
|
|
{% if errors %}
|
|
<p class="errornote">
|
|
{% blocktrans count errors|length as counter %}Please correct the error below.{% plural %}Please correct the errors below.{% endblocktrans %}
|
|
</p>
|
|
{{ adminform.form.non_field_errors }}
|
|
{% endif %}
|
|
<table>
|
|
{{ form.as_table }}
|
|
</table>
|
|
<input type="submit"/>
|
|
|
|
|
|
</div>
|
|
</form></div>
|
|
{% endblock %}
|