{% extends "base1col.html" %}
{% load thumbnail %}
{% block title %}Maestro {% endblock title %}</title>
{% block content %}
<div class="span12">
<h2>Il Maestro</h2>
<ul class="media-list">
{% for mst in maestro %}
<li class="media">
<a class="pull-left" href="#">
{% thumbnail mst.images "200x200" crop="center" as im %}
<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" class="media-object" alt="{{ mst.nome|capfirst}} {{mst.cognome|capfirst}} - {{ mst.categoria }}"/>
{% endthumbnail %}
</a>
<div class="media-body" style="padding-left:40px;">
<h4 class="media-heading">{{ mst.nome|capfirst}} {{mst.cognome|capfirst}}</h4>
<p>{{ mst.info|safe }}</p>
</div>
</li>
{% endfor %}
</ul>
</div>
{% endblock content %}