diff options
author | Cefin <kevon@tuta.io> | 2022-01-21 16:20:53 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:20:59 +0100 |
commit | f613896e19caaa1f2884f480d1408f8c8ec01843 (patch) | |
tree | 5eb1b7b6d0ccebd7e61cdf309d9f90de91174543 /archaeological_operations/templates | |
parent | b70efa7223b3828519cce73b8104a739cf9a7dc3 (diff) | |
download | Ishtar-f613896e19caaa1f2884f480d1408f8c8ec01843.tar.bz2 Ishtar-f613896e19caaa1f2884f480d1408f8c8ec01843.zip |
Operation - Parcels - Modify: get step/tests/beginning of post step
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r-- | archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html | 22 |
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> |