<?php
/**
 * Start Input
 *
 * @since   7.4
 *
 * @package WPrequal
 */

namespace WPrequal;

if ( ! defined( 'ABSPATH' ) ) {
	die( 'Access denied!!' );
} ?>

<div class="slide-head">
	<span><i class="fas fa-grip-vertical point"></i></span>
	<span><i class="fas fa-caret-down caret point"></i></span>
	<span class="label"><?php echo esc_html( $input['label'] ); ?></span>

	<span class="right">
		<span class="type-label light-gray"><?php echo esc_html( $input['type_label'] ); ?></span>
		<span><i class="far fa-trash-can delete-slide point red" data-key="<?php echo esc_attr( $input['key'] ); ?>"></i></span>
	</span>

	<input type="hidden" name="input[<?php echo esc_attr( $input['key'] ); ?>][key]" value="<?php echo esc_attr( $input['key'] ); ?>">
	<input type="hidden" name="input[<?php echo esc_attr( $input['key'] ); ?>][type]" value="<?php echo esc_attr( $input['type'] ); ?>">
	<input type="hidden" name="input[<?php echo esc_attr( $input['key'] ); ?>][label]" value="<?php echo esc_attr( $input['label'] ); ?>" class="hidden-label">
	<input type="hidden" name="input[<?php echo esc_attr( $input['key'] ); ?>][type_label]" value="<?php echo esc_attr( $input['type_label'] ); ?>" class="hidden-type-label">
</div>

