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

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$qrcdr_activesection = '.qrcdr-zoom' == $getsection ? ' show active' : '';
?>
<div data-qrcdr-section="zoom" class="qrcdr-zoom tab-pane fade<?php echo esc_attr( $qrcdr_activesection ); ?>" id="qrcdr-zoom-<?php echo esc_attr( $form_id ); ?>" aria-labelledby="qrcdr-tab-zoom-<?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-sm-6 form-group">
	<label for="zoom_id-<?php echo esc_attr( $form_id ); ?>"><?php esc_html_e( 'Meeting ID', 'qrcdr' ); ?></label>
	<input type="text" name="zoom_id" id="zoom_id-<?php echo esc_attr( $form_id ); ?>" class="form-control" required="required" />
</div>
<div class="col-sm-6 form-group">
	<label for="zoom_pwd-<?php echo esc_attr( $form_id ); ?>"><?php esc_html_e( 'Password', 'qrcdr' ); ?></label>
	<input type="text" name="zoom_pwd" id="zoom_pwd-<?php echo esc_attr( $form_id ); ?>" class="form-control" required="required" />
</div>
</div>
</div>
