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.html22
1 files changed, 4 insertions, 18 deletions
diff --git a/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html b/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html
index 9aebe20fa..9fb75b3d4 100644
--- a/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html
+++ b/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html
@@ -9,34 +9,20 @@
</button>
</div>
<form enctype="multipart/form-data" action="{{url}}" method="post" id="{{ formset.form_slug }}">
+ {{ formset.management_form }}
{% csrf_token %}
<div class="modal-body body-scroll">
<div class='form'>
{% block main_form %}
- {{ formset.management_form }}
{% if formset.non_form_errors %}
<div class="alert alert-danger" role="alert">
{{ formset.non_form_errors }}
</div>
{% endif %}
<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>
+ {% for form in formset %}
+ {{form}}
+ {% endfor %}
<tr>
<td>