diff options
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r-- | archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html b/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html index 3a9f2785c..434ba9490 100644 --- a/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html +++ b/archaeological_operations/templates/ishtar/forms/operation_modify_parcels.html @@ -10,6 +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 }} {% csrf_token %} <div class="modal-body body-scroll"> <div class='form'> @@ -31,7 +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 %} {% endblock %} </div> </div> |