<?php defined( 'ABSPATH' ) || exit; // Exit if accessed directly
use Bookly\Lib\Utils\Common;
/** @var \Bookly\Lib\UserBookingData $userData */
?>
<div class="bookly-form-group">
    <label for="bookly-email-<?php echo $form_id ?>"><?php echo Common::getTranslatedOption( 'bookly_l10n_label_email' ) ?></label>
    <div>
        <input id="bookly-email-<?php echo $form_id ?>" class="bookly-js-user-email" maxlength="255" type="text" value="<?php echo esc_attr( $userData->getEmail() ) ?>"/>
    </div>
    <div class="bookly-js-user-email-error bookly-label-error"></div>
</div>