<?php
wpbdp_admin_header(
	array(
		'title'   => __( 'Delete Directory Theme', 'business-directory-plugin' ),
		'id'      => 'theme-delete',
		'echo'    => true,
		'sidebar' => false,
	)
);
?>

<p>
<?php
printf(
	__( 'Are you sure you want to delete the directory theme "%s"?', 'business-directory-plugin' ),
	$theme->name
);
?>
</p>

<form action="" method="post">
	<input type="hidden" name="theme_id" value="<?php echo esc_attr( $theme->id ); ?>" />
	<input type="hidden" name="dodelete" value="1" />
	<input type="hidden" name="wpbdp-action" value="delete-theme" />
	<?php wp_nonce_field( 'delete theme ' . $theme->id ); ?>

	<?php submit_button( __( 'Cancel', 'business-directory-plugin' ), 'secondary', 'cancel', false ); ?>
	<?php submit_button( __( 'Delete Directory Theme', 'business-directory-plugin' ), 'delete', 'delete-theme', false ); ?>
</form>

<?php echo wpbdp_admin_footer(); ?>
