Source

dvd-collection / collection / templates / collection / fragments / genre_dropdown.html

1
2
3
4
5
6
<select name="genre">
  <option value="0"{% if current == 0 %}selected{% endif %}>Any</option>
{% for genre in genre_list %}
  <option value="{{genre.pk}}"{% if current == genre.pk %}selected{% endif %}>{{genre}}</option>
{% endfor %}
</select>