summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-01-27 13:24:25 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-02-28 12:15:24 +0100
commitf53b0fec14bc4a5aef2527bc70597fa112fdda43 (patch)
treeeb0e09d72e58d4cd71e363ad22a6c2a7c7fe1abc /ishtar_common
parent53036766f9968fa9be995efe53ad3e3f802ec38f (diff)
downloadIshtar-f53b0fec14bc4a5aef2527bc70597fa112fdda43.tar.bz2
Ishtar-f53b0fec14bc4a5aef2527bc70597fa112fdda43.zip
Operation parcel: fix add/modification
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/templates/ishtar/wizard/parcels_wizard.html4
1 files changed, 2 insertions, 2 deletions
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 @@
<table class='inline-table' id='parcel-table'>
<tr>{% for field in wizard.form.forms.0 %}
- {% if field.required %}<th{%else%}<td{% endif %}{% if not forloop.last %} rowspan='2'{% endif %}>
- {{ field.label_tag }}{% if field.required %}</th>{%else%}</td>{% endif %}{% endfor %}
+ {% if field.name != 'pk' %}{% if field.required %}<th{%else%}<td{% endif %}{% if not forloop.last %} rowspan='2'{% endif %}>
+ {{ field.label_tag }}{% if field.required %}</th>{%else%}</td>{% endif %}{% endif %}{% endfor %}
</tr>
<tr><td>({% trans "all"%} <input type='checkbox' name='check-all' class='check-all'/>)</td></tr>
{% inline_formset 'Parcels' wizard.form.forms False %}