it/itf/templates/modules/bestpractices/bestpractice.html
2011-10-05 20:01:43 +05:30

31 lines
1.0 KiB
HTML

{% load thumbnail %}
<div class="itfInfo">
{% for s in stories %}
<span class="itfInfoSub">Story: </span><span class="ifInfoInfo">{{ s.text }}</span>
{% if s.image %}
{% thumbnail s.image "100x100" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
{% endif %}
<br /><br />
{% endfor %}
<span class="itfInfoSub">Law: </span><span class="itfInfoInfo">{{ law }}</span>
{% if law_image %}
{% thumbnail law_image "100x100" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
{% endif %}
<br /><br />
<span class="itfInfoSub">Relevance to Theatre: </span><span class="itfInfoInfo">{{ theatre|linebreaksbr }}</span>
<span class="itfInfoSub">Quick Howto: </span><span class="itfInfoInfo">{{ quick_howto|linebreaksbr }}</span><br /><br />
{% for img in images %}
{% thumbnail img "100x100" crop="center" as im %}
<img class="itfInfoImg" src="{{ im.url }}" />
{% endthumbnail %}
{% endfor %}
</div>