{# 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. #} {# width 1 means that cell will expand just enough to fit the contents #} {# width * means that the cell takes the remaining table width #} {% if settings.ASK_BUTTON_ENABLED %} {% endif %}
{% include "widgets/scope_nav.html" %} {% include "widgets/ask_button.html" %}