<?php
/**
 * Bootstrap Tabs Form Template - group details
 *
 * @package     Joomla
 * @subpackage  Fabrik
 * @copyright   Copyright (C) 2005-2020  Media A-Team, Inc. - All rights reserved.
 * @license     GNU/GPL http://www.gnu.org/copyleft/gpl.html
 * @since       3.1
 */

// No direct access
defined('_JEXEC') or die('Restricted access');

foreach ($this->elements as $element) :
	if ($element->startRow) :?>
		<div class="row-fluid">
	<?php
	endif;

	if (!$element->hidden) :?>
		<div class="<?php echo $element->span;?>">
			<div class="row-fluid">
				<div class="col-sm-4"><em><?php echo $element->label_raw ?></em></div>
				<div class="col-sm-8"><?php echo $element->element;?></div>
			</div>
		</div>

	<?php
	endif;
	if ($element->endRow) :?>
		</div>
	<?php
	endif;
endforeach;
