diff options
| -rw-r--r-- | archaeological_files/templates/ishtar/administrativeact_document.html | 2 | ||||
| -rw-r--r-- | archaeological_operations/tests.py | 5 | 
2 files changed, 4 insertions, 3 deletions
| diff --git a/archaeological_files/templates/ishtar/administrativeact_document.html b/archaeological_files/templates/ishtar/administrativeact_document.html index 5d71519f0..104e5063e 100644 --- a/archaeological_files/templates/ishtar/administrativeact_document.html +++ b/archaeological_files/templates/ishtar/administrativeact_document.html @@ -9,9 +9,7 @@  <h2>{% trans "Document generation" %}</h2>  <form action="." method="post">{% csrf_token %}  <div class='form'> -<table>  {{ search_form.as_p }} -</table>  <h4>{% trans "Choose the type of document" %}</h4>  <table>  {{ template_form }} diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index 166e535ca..947be204e 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -1489,7 +1489,10 @@ class RegisterTest(TestCase, OperationInitTest):                  self.assertIsNone(z.testzip())                  c = z.open('content.xml')                  content = c.read() -                self.assertIn('{{ adminact_operator_id }}', content) +                self.assertIn( +                    '{{ adminact_associated_file_in_charge_parcel_owner }}', +                    content +                )              finally:                  c.close()                  z.close() | 
