prototype-rails
prototype-rails copied to clipboard
Handle data-confirm attribute in elements that submit forms
Handle data-confirm attribute added by ActionView::Helpers::FormTagHelper#submit_tag, image_submit_tag, and button_tag. The existing code appears to check for the data-confirm attribute on the form element, which doesnt appear to be correct according to the options listed for form_tag in the rails api docs, but I'm not 100% sure so I havent removed that