fix tabs.html to *not* use son's domid as-is as is conflicts with other details of...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 23 Mar 2013 10:07:44 +0000 (11:07 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Sat, 23 Mar 2013 10:07:44 +0000 (11:07 +0100)
plugins/tabs/tabs.html

index cdf73ac..35c1e97 100644 (file)
@@ -1,11 +1,11 @@
-<ul class="nav nav-tabs" id='tab-{{ domid }}'>
+<ul class="nav nav-tabs" id='tabs-{{ domid }}'>
 {% for son in sons %}
 <li{% if son.is_active %} class='active'{% endif %}> <a href="#{{ son.domid }}" data-toggle="tab">{{ son.title }}</a> </li>
 {% endfor %}
 </ul><!--nav-tabs-->
 <div class="tab-content">
 {% for son in sons %}
-<div class="tab-pane fade in{% if son.is_active %} active{% endif %}" id="{{ son.domid }}">
+<div class="tab-pane fade in{% if son.is_active %} active{% endif %}" id="tab-{{ son.domid }}">
 {{ son.rendered }}
 </div><!--tab-pane-->
 {% endfor %}