{% set search_form = SearchForm(request) %} {% set show_advanced = search_form.advanced.data == 'on' %}
{# search-query #} {# advanced-search #}