Lines 345-356
Link Here
|
345 |
[%# BOOTSTRAP TAB WRAPPER USAGE |
345 |
[%# BOOTSTRAP TAB WRAPPER USAGE |
346 |
[ WRAPPER tabs id= "tabs container id" ] |
346 |
[ WRAPPER tabs id= "tabs container id" ] |
347 |
[ WRAPPER tabs_nav ] |
347 |
[ WRAPPER tabs_nav ] |
348 |
[ WRAPPER tab_item tabname= "tab name 1" ] [ content ] [ END ] |
348 |
[ WRAPPER tab_item tabname= "tab name 1" bt_active= 1 ] [ content ] [ END ] |
349 |
[ WRAPPER tab_item tabname= "tab name 2" ] [ content ] [ END ] |
349 |
[ WRAPPER tab_item tabname= "tab name 2" ] [ content ] [ END ] |
350 |
... |
350 |
... |
351 |
[ END ] |
351 |
[ END ] |
352 |
[ WRAPPER tab_panels ] |
352 |
[ WRAPPER tab_panels ] |
353 |
[ WRAPPER tab_panel id="tab name 1"] [ content ] [ END ] |
353 |
[ WRAPPER tab_panel id="tab name 1" bt_active= 1 ] [ content ] [ END ] |
354 |
[ WRAPPER tab_panel id="tab name 2"] [ content ] [ END ] |
354 |
[ WRAPPER tab_panel id="tab name 2"] [ content ] [ END ] |
355 |
... |
355 |
... |
356 |
[ END ] |
356 |
[ END ] |
Lines 374-380
Link Here
|
374 |
[% END %] |
374 |
[% END %] |
375 |
|
375 |
|
376 |
[% BLOCK tab_item %] |
376 |
[% BLOCK tab_item %] |
377 |
[% IF ( active ) %] |
377 |
[% IF ( bt_active ) %] |
378 |
<li role="presentation" class="active"> |
378 |
<li role="presentation" class="active"> |
379 |
[% ELSE %] |
379 |
[% ELSE %] |
380 |
<li role="presentation"> |
380 |
<li role="presentation"> |
Lines 392-398
Link Here
|
392 |
[% END %] |
392 |
[% END %] |
393 |
|
393 |
|
394 |
[% BLOCK tab_panel %] |
394 |
[% BLOCK tab_panel %] |
395 |
[% IF ( active ) %] |
395 |
[% IF ( bt_active ) %] |
396 |
<div role="tabpanel" class="tab-pane active" id="[% tabname | html %]_panel"> |
396 |
<div role="tabpanel" class="tab-pane active" id="[% tabname | html %]_panel"> |
397 |
[% ELSE %] |
397 |
[% ELSE %] |
398 |
<div role="tabpanel" class="tab-pane" id="[% tabname | html %]_panel"> |
398 |
<div role="tabpanel" class="tab-pane" id="[% tabname | html %]_panel"> |