<?php
/**
 * Event 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="event" class="qrcdr-event tab-pane fade qrcdr-event<?php echo esc_attr( $qrcdr_activesection ); ?>" id="qrcdr-event-<?php echo esc_attr( $form_id ); ?>" aria-labelledby="qrcdr-tab-event-<?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" style="position: relative">
		<div class="col-sm-6 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['eventtitle'] ); ?>
		</div>
		<div class="col-sm-6 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['eventlocation'] ); ?>
		</div>
		<div class="col-sm-6 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['eventstarttime'] ); ?>
		</div>
		<div class="col-sm-6 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['eventendtime'] ); ?>
		</div>

		<div class="col-12 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['eventreminder'] ); ?>
		</div>
		<div class="col-12 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['eventlink'] ); ?>
		</div>
		<div class="col-12 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['eventnote'] ); ?>
		</div>
	</div>
</div>