aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Šmerkl <46304018+SveterCZE@users.noreply.github.com>2021-01-31 00:28:00 +0100
committerGitHub <noreply@github.com>2021-01-31 00:28:00 +0100
commitf017151bb09647f6ab93dc38e5f145eae0952faf (patch)
tree93db990de90265e826de7c2c0f9d2da5b034a407
parentc2631ae91782da81d757b4accd75fd8d9ade45aa (diff)
downloadjustice-f017151bb09647f6ab93dc38e5f145eae0952faf.tar.gz
Create search_form.html
-rw-r--r--templates/search_form.html86
1 files changed, 86 insertions, 0 deletions
diff --git a/templates/search_form.html b/templates/search_form.html
new file mode 100644
index 0000000..4268758
--- /dev/null
+++ b/templates/search_form.html
@@ -0,0 +1,86 @@
+<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 %}
+
+<form method="post">
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.nazev_subjektu.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.nazev_subjektu()|safe }} {{ form.nazev_subjektu_selection }}
+ </div>
+ </div>
+
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.ico_search.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.ico_search()|safe }} {{ form.ico_search_selection }}
+ </div>
+ </div>
+
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.obec_search.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.obec_search()|safe }} {{ form.obec_search_selection }}
+ </div>
+ </div>
+
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.ulice_search.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.ulice_search()|safe }} {{ form.ulice_search_selection }}
+ </div>
+ </div>
+
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.oddil_search.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.oddil_search()|safe }} {{ form.oddil_search_selection }}
+ </div>
+ </div>
+
+ <div class="row g-2">
+ <div class="col-sm-3">
+ {{ form.vlozka_search.label }}
+ </div>
+ <div class="col-sm">
+ {{ form.vlozka_search()|safe }} {{ form.vlozka_search_selection }}
+ </div>
+ </div>
+ <div class="row g-2">
+ {{ render_field(form.pravni_forma_search) }}
+ </div>
+ <div class="row g-2">
+ {{ render_field(form.soud_search) }}
+ </div>
+ <div class="row g-2">
+ {{ render_field(form.insolvent_only_search) }}
+ </div>
+ </p>
+ <p><input type="submit" value="Search">
+ </p>
+</form>