{% extends 'base.html' %} {% load staticfiles highlight display sort %} {% block css %} {% endblock %} {% block js %} {% endblock %} {% block content %}

{{ form }}

Facets (reset)


{% for facet, values in facets.fields.items|sortiter %} {% for value in values %} {% endfor %}
{% if values %} {{ facet|capfirst }} ({{ values|length }}) {% else %} {{ facet|capfirst }} {% endif %}
{% comment %}
{{ facet|capfirst }} {% for value in values %}
{{ value.0 }} ({{ value.1 }})
{% endfor %}
{% endcomment %} {% endfor %}

Results ({{ page.paginator.count }}) {% if page.has_previous %}1 {% endif %}« Prev {% if page.has_previous %}{% endif %} | {{ page.number }} | {% if page.has_next %}{% endif %}Next »{% if page.has_next %} {{ page.paginator.num_pages }}{% endif %}


    {% for result in page.object_list %}
  1. {{ result.object.filename }}
    {% highlight result.text with query %}
  2. {% empty %}
  3. No results found.
  4. {% endfor %}
{% if page.has_previous or page.has_next %}
{% if page.has_previous %}1 {% endif %}« Prev {% if page.has_previous %}{% endif %} | {{ page.number }} | {% if page.has_next %}{% endif %}Next »{% if page.has_next %} {{ page.paginator.num_pages }}{% endif %} {% endif %}
{% endblock %}