annotate mysite/templates/band/video_detail.html @ 9:dac690ab98b2

Display video sets on index page by date in descending order. Allow the video set date to be edited.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Dec 2009 21:47:08 +0000
parents 0dcfcdf50c62
children ead7bd49c9e0
rev   line source
bgneal@1 1 {% extends 'band/base.html' %}
bgneal@1 2 {% block title %}The Madeira | Videos: {{ vidset.title }}{% endblock %}
bgneal@1 3 {% block content %}
bgneal@1 4 <h1>Madeira Videos: {{ vidset.title }}</h1>
bgneal@1 5 {{ vidset.text|safe|linebreaks }}
bgneal@1 6
bgneal@1 7 <div align="center">
bgneal@1 8 <table cellspacing="3" cellpadding="2" border="0">
bgneal@1 9 {% for video in vidset.video_set.all %}
bgneal@1 10 <tr><th>{{ video.title }}</th><td>{{ video.embed_code|safe }}</td></tr>
bgneal@1 11 {% endfor %}
bgneal@1 12 </table>
bgneal@1 13 </div>
bgneal@1 14 <br />
bgneal@1 15 <center><a href="{% url mysite.band.views.videos_index %}">Videos index</a></center>
bgneal@1 16
bgneal@1 17 {% endblock %}