I have a form and a submit button, I try to display a confirmation
dialog before the submit button trigger the action, (it confirmation is
negatif, action will not be triggered.) I know I can to this with
link_to( :confirm=>‘sentence?’) but can I do the same thing with a
normal submit button, and how???