<?php
/**
 * Multi-day pass events settings block.
 *
 * @package EventimUSEventListings
 */

defined( 'ABSPATH' ) || exit;
?>
<div class="dashboard-module">
	<div class="module-header">
		<h1><?php esc_html_e( 'Multi Day (Pass) Events', 'eventim-us-event-listings' ); ?></h1>
	</div>
	<div class="module-content">
		<div style="display:flex; direction:row; align-items:center; justify-content:space-between;">
			<div class="setting-row" style="flex: 1;">
				<div class="setting-label">
					<label><?php esc_html_e( 'Create event post for each day of a multi day event', 'eventim-us-event-listings' ); ?></label>
				</div>
			</div>
			<div class="setting-control">
				<label class="switch">
					<input type="checkbox" name="evusel_settings[show_repeating_events]"
						<?php echo $evuselConfig->get( 'show_repeating_events' ) === 'on' ? 'checked' : ''; ?>>
					<span class="slider round"></span>
				</label>
			</div>
		</div>
	</div>
</div>