<?php
/**
 * Delete Settings => Profiles' custom field modal template
 */

defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
?>

<dialog id="removeProfileFieldModal" class="dialog">
	<form class="pwp-form flow">
		<div class="dialog-header">
			<h5 class="dialog-title"><?php esc_html_e( 'Delete visitor profile custom field?', 'personalizewp' ); ?></h5>
			<button formnovalidate value="close" type="button" formmethod="dialog">
				<span aria-hidden="true">&times;</span>
				<span class="screen-reader-text"><?php esc_html_e( 'Close', 'personalizewp' ); ?></span>
			</button>
		</div>
		<p><?php esc_html_e( 'Are you sure you want to delete this custom field for Visitor Profiles?', 'personalizewp' ); ?></p>
		<p><?php esc_html_e( 'This will not remove any previously recorded data for this custom field.', 'personalizewp' ); ?></p>
		<div class="actions">
			<button type="submit" class="primary btn" formnovalidate value="delete" formmethod="dialog"><?php esc_html_e( 'Delete', 'personalizewp' ); ?></button>
			<button type="button" class="secondary btn" formnovalidate value="close" formmethod="dialog"><?php esc_html_e( 'Cancel', 'personalizewp' ); ?></button>
		</div>
	</form>
</dialog>
