<?php 
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
$props = $this->props;

?>	
<section class="wbw-body-workflow">
	<div class="wbw-menu-tabs">
		<div class="wbw-grbtn">
			<?php foreach ($props['tabs'] as $key => $data) { ?>
				<button type="button" data-content="#content-tab-<?php echo esc_attr($key); ?>" class="wbw-button <?php echo ( !$data['pro'] || $props['is_pro'] ? '' : 'wbw-show-pro ' ) . ( empty($data['class']) ? '' : esc_attr($data['class']) ); ?>">
					<?php echo esc_html($data['label']); ?>
				</button>
			<?php } ?>
			<button type="button" class="wbw-leer"></button>
		</div>
	</div>
	<div class="wbw-tabs-content">
		<?php foreach ($props['tabs'] as $key => $data) { ?>
			<div class="wbw-tab-content" id="content-tab-<?php echo esc_attr($key); ?>">
				<?php include_once 'adminWorkflowTab' . waicStrFirstUp($key) . '.php'; ?>
				<div class="wbw-clear"></div>
			</div>
			<?php 
		} 
		WaicHtml::hidden('', array('value' => WaicUtils::jsonEncode($props['lang']), 'attrs' => 'id="waicLangSettingsJson" class="wbw-nosave"'));
		?>
	</div>
</section>
<?php 
// phpcs:enable
