<form id="action_selection" action="<?php echo $tpl['current_url']; ?>" method="post">
	<div>
		<p class="field"><?php printf(__('Sélection : %s'), count($_POST['selected'] ?? [])); ?></p>
		<p class="field"><?php echo $confirm_delete; ?></p>
		<p>
<?php if (!empty($_POST['selected'])) : ?>
<?php foreach ($_POST['selected'] as $id => &$value) : ?>
			<input name="selected[<?php echo $id; ?>]" type="hidden" value="<?php echo $value; ?>">
<?php endforeach; ?>
<?php endif; ?>
			<input name="anticsrf" type="hidden" value="<?php echo $tpl['anticsrf'](); ?>">
			<input name="action" type="hidden" value="delete">
			<input name="selection" type="submit" value="<?php echo __('Supprimer'); ?>">
			<input autofocus name="cancel" type="submit" value="<?php echo __('Annuler'); ?>">
		</p>
	</div>
</form>