From: Thierry Parmentelat <thierry.parmentelat@inria.fr> Date: Sat, 23 Mar 2013 10:07:44 +0000 (+0100) Subject: fix tabs.html to *not* use son's domid as-is as is conflicts with other details of... X-Git-Tag: myslice-django-0.1-2~23 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=174863f08c8ac787add6ebc99f5a63812f950e43;p=myslice.git fix tabs.html to *not* use son's domid as-is as is conflicts with other details of the son --- diff --git a/plugins/tabs/tabs.html b/plugins/tabs/tabs.html index cdf73acd..35c1e97f 100644 --- a/plugins/tabs/tabs.html +++ b/plugins/tabs/tabs.html @@ -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 %}