mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-25 12:53:11 +00:00
Fix : vérifie que les field existent bien (cas d'une recherche simple)
This commit is contained in:
parent
0e9baa606a
commit
74a393db8a
1 changed files with 8 additions and 0 deletions
|
@ -32,10 +32,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
|
|
||||||
<form class="form">
|
<form class="form">
|
||||||
{% bootstrap_field search_form.q %}
|
{% bootstrap_field search_form.q %}
|
||||||
|
{% if search_form.u %}
|
||||||
{% include "buttons/multiple_checkbox_alt.html" with field=search_form.u %}
|
{% include "buttons/multiple_checkbox_alt.html" with field=search_form.u %}
|
||||||
|
{% endif %}
|
||||||
|
{% if search_form.a %}
|
||||||
{% include "buttons/multiple_checkbox_alt.html" with field=search_form.a %}
|
{% include "buttons/multiple_checkbox_alt.html" with field=search_form.a %}
|
||||||
|
{% endif %}
|
||||||
|
{% if search_form.s %}
|
||||||
{% bootstrap_field search_form.s %}
|
{% bootstrap_field search_form.s %}
|
||||||
|
{% endif %}
|
||||||
|
{% if search_form.e %}
|
||||||
{% bootstrap_field search_form.e %}
|
{% bootstrap_field search_form.e %}
|
||||||
|
{% endif %}
|
||||||
{% bootstrap_button "Search" button_type="submit" icon="search" %}
|
{% bootstrap_button "Search" button_type="submit" icon="search" %}
|
||||||
</form>
|
</form>
|
||||||
<br />
|
<br />
|
||||||
|
|
Loading…
Reference in a new issue