diff options
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 |
commit | 25879f5ea9fbcbc0100625a82f0c9d19ff679455 (patch) | |
tree | eb0e09d72e58d4cd71e363ad22a6c2a7c7fe1abc /ishtar_common | |
parent | 9782817d3b77a8dd1485909923723e0b90c1282f (diff) | |
download | Ishtar-25879f5ea9fbcbc0100625a82f0c9d19ff679455.tar.bz2 Ishtar-25879f5ea9fbcbc0100625a82f0c9d19ff679455.zip |
Operation parcel: fix add/modification
Diffstat (limited to 'ishtar_common')
-rw-r--r-- | ishtar_common/templates/ishtar/wizard/parcels_wizard.html | 4 |
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 %} |