Commit 74a393db authored by Maël Kervella's avatar Maël Kervella

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

parent 0e9baa60
......@@ -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 />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment