view mysite/templates/band/bio.html @ 32:fb72a1e65121

Add back the fancy box init code to allow fancybox to work on the index page.
author Brian Neal <bgneal@gmail.com>
date Thu, 11 Aug 2011 19:00:32 +0000
parents d771b81e927e
children
line wrap: on
line source
{% extends 'band/base.html' %}
{% block title %}The Madeira | Biography{% endblock %}
{% block content %}
<h1>Band Biography</h1>
{% if members %}
   {% for member in members %}
      <h2>{{ member.name }} - {{ member.instrument }}</h2>
      <p>
      {% if member.photo %}
         <img class="left" src="{{ member.photo.url }}" border="0" alt="{{ member.name }}" title="{{ member.name }}" />
         {{ member.bio|linebreaks }}
      </p>
         {% if member.gear_set.all %}
            <p>Gear:</p>
            <ul>
               {% for item in member.gear_set.all %}
                  <li>{{ item.item }}</li>
               {% endfor %}
            </ul>
         {% endif %}
      {% endif %}
   {% endfor %}
{% else %}
The band has no members.
{% endif %}
{% endblock %}