views-bootstrap-tab-plugin-style.tpl.php in Views Bootstrap 7.2
File
templates/tab/views-bootstrap-tab-plugin-style.tpl.php
View source
<?php
if (!empty($title)) {
?>
<h3><?php
print $title;
?></h3>
<?php
}
?>
<div id="views-bootstrap-tab-<?php
print $id;
?>" class="<?php
print $classes;
?>">
<ul class="nav nav-<?php
print $tab_type;
?>">
<?php
foreach ($tabs as $key => $tab) {
?>
<li class="<?php
if ($key == $first_key) {
print 'active';
}
?>">
<a href="#tab-<?php
print "{$id}-{$key}";
?>" data-toggle="tab"><?php
print $tab;
?></a>
</li>
<?php
}
?>
</ul>
<div class="tab-content">
<?php
foreach ($rows as $key => $row) {
?>
<div class="tab-pane <?php
if ($key == $first_key) {
print 'active';
}
?>" id="tab-<?php
print "{$id}-{$key}";
?>">
<?php
print $row;
?>
</div>
<?php
}
?>
</div>
</div>