d5decae71621deb65f860f2e060523beff2d7994
[wolnelektury.git] / apps / sponsors / templates / sponsors / sponsors.html
1 <div class="sponsors">
2 {% for group in sponsor_groups %}
3         <div class="sponsor-group" style="width: {{ group.column_width }}px">
4                 <p class="sponsor-group-name">{{ group.name }}</p>
5                 {% for sponsor in group.sponsors %}
6                         <div class="sponsor">{% if sponsor.url %}<a style="sponsor-link" href="{{ sponsor.url }}" >{% endif %}<img class="sponsor-logo" src="{{ sponsor.logo.url }}" alt="{{ sponsor.description }}"/>{% if sponsor.url %}</a>{% endif %}</div>
7                 {% endfor %}
8         </div>
9 {% endfor %}
10 <div style="clear: both" />
11 </div>