forget about manage.py collectstatic and come up with our own brew
[myslice.git] / plugins / templates / tabs.html
1 {# could try to set class='active' on the one we want to highlight #}
2 <ul class="nav nav-tabs" id='tab-{{ domid }}'>
3 {% for son in sons %}
4 <li{% if son.active %} class='active'{% endif %}> <a href="#{{ son.domid }}" data-toggle="tab">{{ son.title }}</a> </li>
5 {% endfor %}
6 </ul><!--nav-tabs-->
7 <div class="tab-content">
8 {% for son in sons %}
9 <div class="tab-pane fade in{% if son.active %} active{% endif %}" id="{{ son.domid }}">
10 {{ son.rendered }}
11 </div><!--tab-pane-->
12 {% endfor %}
13 </div><!--tab-content-->