Source

dvd-collection / collection / templates / collection / format_list.html

Full commit
{% extends "base.html" %}
{% load bootstrap %}
{% load moviedb %}

{% block jquery %}  $('#nav_format').addClass('active');{% endblock %}

{% block title %}Browse by Format{% endblock %}

{% block base_content %}
<table class="table table-condensed table-striped">
  <thead><tr><th>Format</th><th>Titles in Format</th></tr></thead>
  <tbody>
    {% for format in format_list %}
    <tr><td><a href="{% url 'browse_format' format.id %}">{{format.name}}</a></td><td>{{format.title_count}}</td></tr>
    {% endfor %}
  </tbody>
</table>
<h3>Total movies in collection: {% total_movies %}.</h3>
{% endblock %}