summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r--archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html43
1 files changed, 27 insertions, 16 deletions
diff --git a/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html b/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html
index 64619a6f4..9aebe20fa 100644
--- a/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html
+++ b/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html
@@ -14,27 +14,38 @@
<div class='form'>
{% block main_form %}
{{ formset.management_form }}
- {{ formset_general.management_form }}
{% if formset.non_form_errors %}
- {{ formset.non_form_errors }}
+ <div class="alert alert-danger" role="alert">
+ {{ formset.non_form_errors }}
+ </div>
{% endif %}
<table>
- {% for form in formset %}
- <th></th>
- <tr>
- <td>{{ form }}</td>
- </tr>
- {% endfor %}
- </table>
+ <tr>
+ {% for form in formset %}
+ {{form}}
+ {% if form.name != 'pk' %}
+ {% if form.required %}
+ <th
+ {% else %}
+ <td
+ {% endif %}
+ {% if not forloop.last %}
+ rowspan='2'
+ {% endif %}>
+ {{ form.label}}
+ {% endif %}
+ </td>
+ {% endfor %}
+ </tr>
- <table>
- {% for form_g in formset_general %}
- <th></th>
- <tr>
- <td>{{ form_g }}</td>
- </tr>
- {% endfor %}
+ <tr>
+ <td>
+ ({% trans "all"%}
+ <input type='checkbox' name='check-all' class='check-all'/>)
+ </td>
+ </tr>
</table>
+
{% endblock %}
</div>
</div>