{% extends "oscar/base.html" %} {% macro search_form_attrs(pageno) -%} {%- for category in selected_categories -%}{%- endfor -%} {{- "" -}} {{- "" -}} {{- "" -}} {{- "" -}} {% if timeout_limit %}{% endif -%} {%- endmacro %} {%- macro search_url() %}{{ base_url }}?q={{ q|urlencode }}{% if selected_categories %}&categories={{ selected_categories|join(",") | replace(' ','+') }}{% endif %}{% if pageno > 1 %}&pageno={{ pageno }}{% endif %}{% if time_range %}&time_range={{ time_range }}{% endif %}{% if current_language != 'all' %}&language={{ current_language }}{% endif %}{% endmacro -%} {% block title %}{{ q|e }} - {% endblock %} {% block meta %}{{" "}}{% endblock %} {% block content %} {% include 'oscar/search.html' %}

{{ _('Search results') }}

{% if corrections -%}
{{ _('Try searching for:') }} {% for correction in corrections -%} {% endfor %}
{%- endif %} {% if answers -%} {%- for answer in answers.values() %}
{% if answer.url %} {{ answer.answer }} {% else %} {{ answer.answer }} {% endif %}
{%- endfor %} {%- endif %} {% for result in results -%}
{%- set index = loop.index -%} {%- if result.template -%} {% include get_result_template('oscar', result['template']) %} {%- else -%} {% include 'oscar/result_templates/default.html' %} {%- endif -%}
{% endfor %} {% if not results and not answers -%} {% include 'oscar/messages/no_results.html' %} {% endif %}
{% if paging -%} {% if rtl %}
{% else %}
{% endif %} {% endif %}
{% endblock %}