summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/wizard/parcels_wizard.html
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates/ishtar/wizard/parcels_wizard.html')
-rw-r--r--ishtar_common/templates/ishtar/wizard/parcels_wizard.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/ishtar_common/templates/ishtar/wizard/parcels_wizard.html b/ishtar_common/templates/ishtar/wizard/parcels_wizard.html
index 2028d8792..d8c902c72 100644
--- a/ishtar_common/templates/ishtar/wizard/parcels_wizard.html
+++ b/ishtar_common/templates/ishtar/wizard/parcels_wizard.html
@@ -22,13 +22,16 @@
{% bs_form wizard.form.selection_form %}
<table class='inline-table' id='parcel-table'>
- <tr>{% for field in wizard.form.forms.0 %}<th{% if not forloop.last %} rowspan='2'{% endif %}>{{ field.label_tag }}</th>{% endfor %}</tr>
+ <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 %}
+ </tr>
<tr><td>({% trans "all"%} <input type='checkbox' name='check-all' class='check-all'/>)</td></tr>
{% inline_formset 'Parcels' wizard.form.forms False %}
</table>
{% if add_all %}<p><input type='checkbox' name='add_all_parcels' id='add_all_parcels'> <label for='add_all_parcels'>{% trans "Add all parcels from the archaeological file" %}</label></p>{% endif %}
- <div class="text-center">
+ <div class="mt-3 text-center">
<button class="btn btn-success" name="formset_modify" value="{{wizard.steps.current}}">
{% trans "Add/Modify" %}
</button>