diff options
author | Cefin <kevon@tuta.io> | 2022-02-02 14:19:07 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2022-12-12 12:21:00 +0100 |
commit | ae014c8afa2e6313fd571b52e6325de9aa801d17 (patch) | |
tree | beabf7d144191275b49bcc79d90bdb887c99e9c9 /archaeological_operations/templates | |
parent | c8c8b4f798315559dbc56d478daff57d002a3bd9 (diff) | |
download | Ishtar-ae014c8afa2e6313fd571b52e6325de9aa801d17.tar.bz2 Ishtar-ae014c8afa2e6313fd571b52e6325de9aa801d17.zip |
Operation - Parcels - Modify: add a new formset for quick add form, commit before clean #5227
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r-- | archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html b/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html index 434ba9490..4b937a2a6 100644 --- a/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html +++ b/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html @@ -10,7 +10,7 @@ </div> <form enctype="multipart/form-data" action="{{url}}" method="post" id="qa-new-{{ formset.form_slug }}"> {{ formset.management_form }} - {{ formset_add.management_form }} + {% comment %} {{ formset_add.management_form }} {% endcomment %} {% csrf_token %} <div class="modal-body body-scroll"> <div class='form'> @@ -32,17 +32,17 @@ </td> </tr> </table> - {% comment %} <h3>Add a new parcel</h3> {% endcomment %} - {% comment %} {% if formset_add.non_form_errors %} {% endcomment %} - {% comment %} <div class="alert alert-danger" role="alert"> {% endcomment %} - {% comment %} {{ formset_add.non_form_errors }} {% endcomment %} - {% comment %} </div> {% endcomment %} - {% comment %} {% endif %} {% endcomment %} - {% comment %} <table> {% endcomment %} - {% comment %} {% for form in formset_add %} {% endcomment %} - {% comment %} {{form}} {% endcomment %} - {% comment %} {% endfor %} {% endcomment %} - {% comment %} </table> {% endcomment %} + <h3>Add a new parcel</h3> + {% if formset_add.non_form_errors %} + <div class="alert alert-danger" role="alert"> + {{ formset_add.non_form_errors }} + </div> + {% endif %} + <table> + {% for form in formset_add %} + {{form}} + {% endfor %} + </table> {% endblock %} </div> </div> |