<?php
/**
* @package CembraPay Payment Gateway for WooCommerce
* @author  Adrian Emil Tudorache
* @license GPL-2.0+
* @link    https://www.tudorache.me/
**/

namespace CembraPayWoo;

if ( ! defined( 'ABSPATH' ) ) {
    header( 'Status: 403 Forbidden' );
	header( 'HTTP/1.1 403 Forbidden' );
    exit;
}
?>
<div class="form-row form-row-wide cembrapay-birthdate-container" style="margin-bottom: 10px;">
    <?php if( $data['birthdate_field_label_type'] == 1 ) { ?>
    <label for="cembrapay_birthdate_datepicker"><?php echo esc_html( $data['birthdate_field_label'] ); ?> <span class="required">*</span></label>
    <?php } ?>
    <input type="text" name="cembrapay_birthdate" id="cembrapay_birthdate_datepicker" class="input-text" placeholder="<?php echo $data['birthdate_field_label_type'] == 2 ? esc_html( $data['birthdate_field_label'] ) : ''; ?>" />
</div>