<div class="attr-modal attr-fade" id="elementpress_headerfooter_modal" tabindex="-1" role="dialog"
	aria-labelledby="elementpress_headerfooter_modalLabel">
	<div class="attr-modal-dialog attr-modal-dialog-centered" role="document">
		<form action="" method="get" id="elementpress-template-modalinput-form" data-open-editor="0"
			data-editor-url="<?php echo get_admin_url(); ?>">
			<input type="hidden" name="post_author" value ="<?php echo get_current_user_id(); ?>">
			<div class="attr-modal-content">
				<div class="attr-modal-header">
					<button type="button" class="attr-close" data-dismiss="modal" aria-label="Close"><span
							aria-hidden="true">&times;</span></button>
					<h4 class="attr-modal-title" id="elementpress_headerfooter_modalLabel"><?php esc_html_e('Template Settings', 'elementpress'); ?></h4>
				</div>
				<div class="attr-modal-body" id="elementpress_headerfooter_modal_body">
					<div class="epress-input-group">
						<label class="attr-input-label"><?php esc_html_e('Title:', 'elementpress'); ?></label>
						<input required type="text" name="title" class="epress-template-modalinput-title attr-form-control">
					</div>
					<br />
					<div class="epress-input-group">
						<label class="attr-input-label"><?php esc_html_e('Type:', 'elementpress'); ?></label>
						<select name="type" class="epress-template-modalinput-type attr-form-control">
							<option value="header"><?php esc_html_e('Header', 'elementpress'); ?></option>
							<option value="footer"><?php esc_html_e('Footer', 'elementpress'); ?></option>
							<option value="section"><?php esc_html_e('Section', 'elementpress'); ?></option>
							<option value="single"><?php esc_html_e('Single', 'elementpress'); ?></option>
							<option value="archive"><?php esc_html_e('Archive', 'elementpress'); ?></option>
							<option value="page_404"><?php esc_html_e('404', 'elementpress'); ?></option>
							<option value="maintenance"><?php esc_html_e('Under Maintenance', 'elementpress'); ?></option>
							<option value="search"><?php esc_html_e('Search', 'elementpress'); ?></option>
							<option value="blog"><?php esc_html_e('Blog Page', 'elementpress'); ?></option>
						</select>
					</div>
					<br />

					<div class="epress-template-headerfooter-option-container">
						<div class="epress-input-group">
							<label class="attr-input-label"><?php esc_html_e('Conditions:', 'elementpress'); ?></label>
							<select name="condition_a" class="epress-template-modalinput-condition_a attr-form-control">
								<option value="entire_site"><?php esc_html_e('Entire Site', 'elementpress'); ?></option>
								<option value="singular"><?php esc_html_e('Singular ', 'elementpress'); ?></option>
								<option value="archive"><?php esc_html_e('Archive / Blog ', 'elementpress'); ?></option>
							</select>
						</div>
						<br>
						<div class="epress-template-modalinput-condition_singular-container">
							<div class="epress-input-group">
								<label class="attr-input-label"></label>
								<select name="condition_singular"
									class="epress-template-modalinput-condition_singular attr-form-control">
									<option value="all"><?php esc_html_e('All Singulars', 'elementpress'); ?></option>
									<option value="front_page"><?php esc_html_e('Front Page', 'elementpress'); ?></option>
									<option value="all_posts"><?php esc_html_e('All Posts', 'elementpress'); ?></option>
									<option value="all_pages"><?php esc_html_e('All Pages', 'elementpress'); ?></option>
									<option value="selective"><?php esc_html_e('Selective Singular', 'elementpress'); ?></option>
									<option value="404page"><?php esc_html_e('404 Page', 'elementpress'); ?></option>
								</select>
							</div>
							<br>

							<div class="epress-template-modalinput-condition_singular_id-container epress_multipile_ajax_search_filed">
								<div class="epress-input-group">
									<label class="attr-input-label"></label>
									<select multiple name="condition_singular_id[]" class="epress-template-modalinput-condition_singular_id"></select>
								</div>
								<br />
							</div>
							<br>
						</div>


						<div class="epress-switch-group">
							<label class="attr-input-label"><?php esc_html_e('Activition:', 'elementpress'); ?></label>
							<div class="epress-admin-input-switch">
								<input checked="" type="checkbox" value="yes"
									class="epress-admin-control-input epress-template-modalinput-activition"
									name="activation" id="epress_activation_modal_input">
								<label class="epress-admin-control-label" for="epress_activation_modal_input">
									<span class="epress-admin-control-label-switch" data-active="ON"
										data-inactive="OFF"></span>
								</label>
							</div>
						</div>
					</div>
					<br>
				</div>
				<div class="attr-modal-footer">
					<button type="button" class="attr-btn attr-btn-default elementpress-template-save-btn-editor"><?php esc_html_e('Edit content', 'elementpress'); ?></button>
					<button type="submit" class="attr-btn attr-btn-primary elementpress-template-save-btn"><?php esc_html_e('Save changes', 'elementpress'); ?></button>
				</div>
				<div class="epress-spinner"></div>
			</div>
		</form>
	</div>
</div>