aboutsummaryrefslogtreecommitdiffstats
path: root/templates/search_form_person.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/search_form_person.html')
-rw-r--r--templates/search_form_person.html58
1 files changed, 58 insertions, 0 deletions
diff --git a/templates/search_form_person.html b/templates/search_form_person.html
new file mode 100644
index 0000000..39a78da
--- /dev/null
+++ b/templates/search_form_person.html
@@ -0,0 +1,58 @@
+{% 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.fist_name_search.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.fist_name_search()|safe }} {{ form.fist_name_search_selection }} {{ form.fist_name_search_actual }}
+ </div>
+ </div>
+
+<!-- SURNAME -->
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.surname_search.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.surname_search()|safe }} {{ form.surname_search_selection }} {{ form.surname_search_actual }}
+ </div>
+ </div>
+
+<!-- BIRTHDAY -->
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.birthday.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.birthday }}
+ </div>
+ </div>
+
+ </p>
+ <p><input type="submit" value="Search">
+ </p>
+</form>
+
+<p><a href="/trivia">Další zajímvavé údaje z obchodního resjtříku.</a></p>
+{% include 'footer.html' %} \ No newline at end of file