{% if data.search_form.global_templates|length > 0 or data.search_form.user_templates|length > 0 %} {% if data.search_form.global_templates|length > 0 %}