<?php
/**
 * Text tab
 *
 * @since  1.0.0
 *
 * @category  WordPress_Plugin
 * @package   QrCdr
 * @author    Nicola Franchini
 * @link      http://veno.es
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<div data-qrcdr-section="text" class="qrcdr-text tab-pane fade<?php echo esc_attr( $qrcdr_activesection ); ?>" id="qrcdr-text-<?php echo esc_attr( $form_id ); ?>" aria-labelledby="qrcdr-tab-text-<?php echo esc_attr( $form_id ); ?>">
	<h2 class="qrcdr-tab-title"><?php echo isset( $current_tab['label'] ) ? esc_html( $current_tab['label'] ) : ''; ?></h2>
	<div class="row">
		<div class="col-12 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['data'] ); ?>
		</div>
	</div>
</div>