From 25879f5ea9fbcbc0100625a82f0c9d19ff679455 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 27 Jan 2021 13:24:25 +0100 Subject: Operation parcel: fix add/modification --- ishtar_common/templates/ishtar/wizard/parcels_wizard.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/ishtar/wizard/parcels_wizard.html b/ishtar_common/templates/ishtar/wizard/parcels_wizard.html index d8c902c72..93addd7a2 100644 --- a/ishtar_common/templates/ishtar/wizard/parcels_wizard.html +++ b/ishtar_common/templates/ishtar/wizard/parcels_wizard.html @@ -23,8 +23,8 @@ {% for field in wizard.form.forms.0 %} - {% if field.required %} - {{ field.label_tag }}{% if field.required %}{%else%}{% endif %}{% endfor %} + {% if field.name != 'pk' %}{% if field.required %} + {{ field.label_tag }}{% if field.required %}{%else%}{% endif %}{% endif %}{% endfor %} {% inline_formset 'Parcels' wizard.form.forms False %} -- cgit v1.2.3
({% trans "all"%} )