aboutsummaryrefslogtreecommitdiffstats
path: root/templates/search_form_entity.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/search_form_entity.html')
-rw-r--r--templates/search_form_entity.html59
1 files changed, 59 insertions, 0 deletions
diff --git a/templates/search_form_entity.html b/templates/search_form_entity.html
new file mode 100644
index 0000000..f3ae970
--- /dev/null
+++ b/templates/search_form_entity.html
@@ -0,0 +1,59 @@
+{% include 'header.html' %}
+<title>Justice Database</title>
+
+<h2>Justice Database</h2>
+
+<p></p><p>
+
+{% with messages = get_flashed_messages() %}
+ {% if messages %}
+ <ul class="flashes">
+ {% for message in messages %}
+ <li>{{ message }}</li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+{% endwith %}
+
+
+{% from "_formhelpers.html" import render_field %}
+
+<!-- NAME -->
+<form method="post">
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.entity_name_search.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.entity_name_search()|safe }} {{ form.entity_name_search_selection }} {{ form.entity_name_search_actual }}
+ </div>
+ </div>
+
+<!-- ID No. -->
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.entity_number_search.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.entity_number_search()|safe }} {{ form.entity_number_search_selection }} {{ form.entity_number_search_actual }}
+ </div>
+ </div>
+
+<!-- Foreign ID No. -->
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.foreign_entity_number_search.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.foreign_entity_number_search()|safe }} {{ form.foreign_entity_number_search_selection }} {{ form.foreign_entity_number_search_actual }}
+ </div>
+ </div>
+
+ </p>
+ <p><input type="submit" value="Search">
+ </p>
+</form>
+
+{% include 'footer.html' %}
+
+