summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/templates/admin/chimere/polygon/change_form.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/chimere/templates/admin/chimere/polygon/change_form.html b/chimere/templates/admin/chimere/polygon/change_form.html
new file mode 100644
index 0000000..6f24fc1
--- /dev/null
+++ b/chimere/templates/admin/chimere/polygon/change_form.html
@@ -0,0 +1,14 @@
+{% extends "admin/change_form.html" %}
+{% load i18n %}
+{% block field_sets %}
+{% if original.has_modified %}
+<p class='errornote'>
+ {% url 'admin:admin-polygon-modification' object_id as rapprochement_form %}
+ {% blocktrans %}
+ This item has a reference item associated to it. You should treat it via the <a href='{{ rapprochement_form }}'>rapprochement form</a>.
+ {% endblocktrans %}
+</p>
+{% endif %}
+{{ block.super }}
+{% endblock %}
+