<div class="ms_lms_courses_archive__filter">
	<a href="#" class="ms_lms_courses_archive__filter_toggle">
		<?php esc_html_e( 'Filters', 'masterstudy-lms-learning-management-system' ); ?>
	</a>
	<form class="ms_lms_courses_archive__filter_form" method="post">
		<div class="ms_lms_courses_archive__filter_options">
			<?php
			foreach ( $filter_data['filter_options'] as $option ) {
				if ( isset( $option['template'] ) ) {
					STM_LMS_Templates::show_lms_template(
						"elementor-widgets/courses/courses-archive/filter/options/{$option['template']}",
						array(
							'option' => $option,
							'terms'  => $filter_data['terms'],
							'metas'  => $filter_data['metas'],
						)
					);
				}
			}
			?>
		</div>
		<div class="ms_lms_courses_archive__filter_actions">
			<input type="submit" value="<?php esc_attr_e( 'Show Results', 'masterstudy-lms-learning-management-system' ); ?>" class="ms_lms_courses_archive__filter_actions_button">
			<a href="#" class="ms_lms_courses_archive__filter_actions_reset">
				<i class="stmlms-undo2"></i>
				<span><?php esc_html_e( 'Reset All', 'masterstudy-lms-learning-management-system' ); ?></span>
			</a>
		</div>
	</form>
</div>
