aboutsummaryrefslogtreecommitdiffstats
path: root/templates/search_form.html
blob: f4fc7a941e61fd1ebd61638b31f162ec824e52b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{% 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 %}

<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 }} {{ form.nazev_search_actual }}
      </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 }} {{ form.obec_search_actual }}
      </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 }} {{ form.ulice_search_actual }}
      </div>
    </div>
    
    <div class="row g-2">
      <div class="col-sm-3">
        {{ form.cp_search.label }}
      </div>
      <div class="col-sm">
        {{ form.cp_search()|safe }} {{ form.cp_search_selection }} {{ form.cp_search_actual }}
      </div>
    </div>

    <div class="row g-2">
      <div class="col-sm-3">
        {{ form.co_search.label }}
      </div>
      <div class="col-sm">
        {{ form.co_search()|safe }} {{ form.co_search_selection }} {{ form.co_search_actual }}
      </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 }} {{ form.oddil_search_actual }}
      </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 }} {{ form.vlozka_search_actual }}
      </div>
    </div>
   
    <div class="row g-2">
      <div class="col-sm-3">
        {{ form.pravni_forma_search.label }}
      </div>
      <div class="col-sm">
        {{ form.pravni_forma_search()|safe }} {{ form.pravni_forma_actual }}
      </div>
    </div>

    <div class="row g-2">
      <div class="col-sm-3">
        {{ form.soud_search.label }}
      </div>
      <div class="col-sm">
        {{ form.soud_search()|safe }} {{ form.soud_search_actual }}
      </div>
    </div>

    <div class="row g-2">
        {{ render_field(form.insolvent_only_search) }}
    </div>
    <div class="row g-2">
        {{ render_field(form.zapis_od) }}
    </div>
    <div class="row g-2">
        {{ render_field(form.zapis_do) }}
    </div>
  </p>
  <p><input type="submit" value="Search">
  </p>
</form>
{% include 'footer.html' %}