{% extends "base_two_columns.html" %} {% load utility_tags %} {% block sidebar %}
{% with title="Genre" selected=facets.selected.genre %}
{% include "movies/includes/filter_heading.html" with title=title %}
{% include "movies/includes/filter_all.html" with param="genre" %} {% for cat in facets.categories.genres %} {{ cat }} {% endfor %}
{% endwith %} {% with title="Director" selected=facets.selected.director %}
{% include "movies/includes/filter_heading.html" with title=title %}
{% include "movies/includes/filter_all.html" with param="director" %} {% for cat in facets.categories.directors %} {{ cat }} {% endfor %}
{% endwith %} {% with title="Actor" selected=facets.selected.actor %}
{% include "movies/includes/filter_heading.html" with title=title %}
{% include "movies/includes/filter_all.html" with param="actor" %} {% for cat in facets.categories.actors %} {{ cat }} {% endfor %}
{% endwith %} {% with title="Rating" selected=facets.selected.rating %}
{% include "movies/includes/filter_heading.html" with title=title %}
{% include "movies/includes/filter_all.html" with param="rating" %} {% for r_val, r_display in facets.categories.ratings %} {{ r_display }} {% endfor %}
{% endwith %} {% with title="Category" %}
{% include "movies/includes/filter_heading.html" with title=title %}
{{ form.category }}
{% endwith %}
{% endblock %} {% block content %}
{% for movie in object_list %}

{{ movie.title }}

{% endfor %}
{% if object_list.has_other_pages %} {% endif %} {% endblock %}