<?php
/**
 * [nemtly_booking_form] mount point template.
 *
 * Override by copying this file to
 * <theme>/nemtly-booking/shortcodes/booking-form.php.
 *
 * @package NemtlyBooking
 *
 * @var string   $container_id    Unique id for the mount point div.
 * @var string[] $wrapper_classes CSS classes applied to the wrapper div.
 * @var array    $data_attrs      data-* attributes (key without the `data-` prefix => value).
 * @var int      $event_id        The event post ID being booked.
 * @var array    $atts            Sanitized shortcode attributes.
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
?>
<div id="<?php echo esc_attr( $container_id ); ?>"
    class="<?php echo esc_attr( implode( ' ', $wrapper_classes ) ); ?>"
    <?php foreach ( $data_attrs as $nemtly_data_name => $nemtly_data_value ) : ?>
        data-<?php echo esc_attr( $nemtly_data_name ); ?>="<?php echo esc_attr( $nemtly_data_value ); ?>"
    <?php endforeach; ?>
>
    <div class="nb-loading">
        <?php esc_html_e( 'Loading booking form...', 'nemtly-booking' ); ?>
    </div>
</div>
