<form action="" method="POST">

% if(~ 1 $#post_arg_dirdir_delete ) {
%   echo '<input type="hidden" name="dirdir_delete" value="Delete page" />' }
% if(~ 1 $#post_arg_dirdir_delete_folder ) {
%   echo '<input type="hidden" name="dirdir_delete_folder" value="Delete folder" />' }

<input type="submit" name="dirdir_delete_yes" value="Are you sure you want to delete?" />
</form>
