{% extends 'base.html' %} {% load crispy_forms_filters highlight i18n %} {% block content %}

{% trans "Search" %}

{% csrf_token %} {{ form|crispy }}

{% trans "Results" %}

{% regroup page.object_list by model_name as categories %} {% for category in categories %}

{% trans category.grouper|capfirst %}

{% for result in category.list %}

{{ result.object }}

{% endfor %} {% empty %}

{% trans "No results found." %}

{% endfor %} {% if page.has_previous or page.has_next %}
{% if page.has_previous %}{% endif %}« Previous{% if page.has_previous %}{% endif %} | {% if page.has_next %}{% endif %}Next »{% if page.has_next %}{% endif %}
{% endif %}
{% endblock %}