<?php
/**
 * Custom button CSS classes by status block.
 *
 * @package EventimUSEventListings
 */

defined( 'ABSPATH' ) || exit;
?>
<div class="dashboard-module">
	<div class="module-header">
		<h1><?php esc_html_e( 'Custom Button CSS Classes by Status', 'eventim-us-event-listings' ); ?></h1>
	</div>
	<div class="module-content">
		<div class="custom-labels-container button-classes-grid">
			<?php foreach ( $buttonLabels as $evusel_value => $evusel_buttonLabel ) : ?>
				<div class="dispevli-custom-label-group">
					<label><?php echo esc_html( strtoupper( $evusel_buttonLabel ) ); ?></label>
					<input type="text"
						name="<?php echo esc_attr( "evusel_settings[button_status_classes][{$evusel_value}]" ); ?>"
						placeholder="<?php echo esc_attr( $evusel_buttonLabel ); ?>"
						value="<?php echo isset( $customButtonClasses[ $evusel_value ] ) ? esc_attr( $customButtonClasses[ $evusel_value ] ) : ''; ?>">
				</div>
			<?php endforeach; ?>
		</div>
	</div>
</div>