8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-05 01:16:27 +00:00

Fix : vérifie que les field existent bien (cas d'une recherche simple)

This commit is contained in:
Maël Kervella 2017-11-06 12:42:43 +00:00
parent 0e9baa606a
commit 74a393db8a

View file

@ -32,10 +32,18 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<form class="form">
{% bootstrap_field search_form.q %}
{% if 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 %}
{% endif %}
{% if search_form.s %}
{% bootstrap_field search_form.s %}
{% endif %}
{% if search_form.e %}
{% bootstrap_field search_form.e %}
{% endif %}
{% bootstrap_button "Search" button_type="submit" icon="search" %}
</form>
<br />