<form class="page" action="<?php echo $tpl['current_url']; ?>" method="post">
	<fieldset>
		<legend><?php echo __('Suppression'); ?></legend>
<?php if (isset($_POST['delete_confirm'])) : ?>
		<p class="field"><?php echo $tpl['delete']['confirm_text']; ?></p>
		<p class="field">
			<input name="anticsrf" type="hidden" value="<?php echo $tpl['anticsrf'](); ?>">
			<input name="delete" type="submit" value="<?php echo __('Supprimer'); ?>">
			<input autofocus name="cancel" type="submit" value="<?php echo __('Annuler'); ?>">
		</p>
<?php else : ?>
<?php if (isset($tpl['delete']['context_text'])) : ?>
		<div class="report_classic">
			<div class="report_msg report_info"><p><?php echo $tpl['delete']['context_text']; ?></p></div>
		</div>
<?php endif; ?>
		<p class="field">
			<input name="anticsrf" type="hidden" value="<?php echo $tpl['anticsrf'](); ?>">
			<input name="delete_confirm" type="submit" value="<?php echo $tpl['delete']['button_text']; ?>">
		</p>
		<script nonce="<?php echo CSP_NONCE; ?>" type="text/javascript">
		var confirm_delete = "<?php echo $tpl['php2js']($tpl['delete']['confirm_text']); ?>";
		</script>
<?php endif; ?>
	</fieldset>
</form>