<?php
/**
 * Email 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="email" class="qrcdr-email tab-pane fade<?php echo esc_attr( $qrcdr_activesection ); ?>" id="qrcdr-email-<?php echo esc_attr( $form_id ); ?>" aria-labelledby="qrcdr-tab-email-<?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-md-6 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['mailto'] ); ?>
		</div>
		<div class="col-md-6 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['subject'] ); ?>
		</div>
		<div class="col-12 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['body'] ); ?>
		</div>
	</div>
</div>
