{# form is wrapping search buttons and the search bar inputs #} {% set enabled_scopes_class = 'scopes-' + '%s'|format(settings.ALL_SCOPE_ENABLED) + '-' + '%s'|format(settings.UNANSWERED_SCOPE_ENABLED) + '-' + '%s'|format((request.user.is_authenticated() and settings.FOLLOWED_SCOPE_ENABLED)) %}
{# A single row table to help the semi-fixed width layout where: * all cells have "tight width" without linebreaks * except that the search bar cell takes the remaining width We had hard time making this layout work without tables. Please suggest if there is a better way. #}
{% include "widgets/search_bar.html" %}
{% if settings.ASK_BUTTON_ENABLED %}
{% include "widgets/ask_button.html" %}
{% endif %}