<?php
/**
 * Email.
 *
 * This template can be overridden by copying it to yourtheme/testimonial-free/templates/form/email.php
 *
 * @package    Testimonial_Free
 * @subpackage Testimonial_Free/Frontend
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

?>
<div class="sp-tpro-form-field">
<div class="sp-testimonial-label-section">
	<?php if ( $email_address_label ) { ?>
		<label for="tpro_client_email<?php echo esc_attr( $form_id ); ?>"><?php echo esc_html( $email_address_label ); ?></label><?php } if ( $email_address_required ) { ?>
		<span class="sp-required-asterisk-symbol">*</span>
	<?php } ?>
</div> <!-- end of sp-testimonial-label-section -->
<div class="sp-testimonial-input-field">
	<?php if ( ! empty( $before ) ) { ?>
		<span class="tpro_client_before"><?php echo esc_html( $before ); ?></span>
	<?php } ?>
		<input type="email" name="tpro_client_email" id="tpro_client_email<?php echo esc_attr( $form_id ); ?>" <?php echo esc_html( $email_address_required ); ?> placeholder="<?php echo esc_html( $email_address['placeholder'] ); ?>" />
	<?php if ( ! empty( $after ) ) { ?>
		<span class="tpro_client_after"><?php echo esc_html( $after ); ?></span>
	<?php } ?>
</div> <!-- end of sp-testimonial-input-field -->
</div> <!-- end of sp-tpro-form-field -->
