-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for button_to #14
Comments
see #9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current sweet alert is not triggered when a button_to tag is used. This should act in the same way a
link_to
orsubmit_tag
works but the module doesn't define a function forbutton_to
, onlybutton_tag
.E.G.
<%= button_to "Click Me", root_path, data: { confirm: "Do it?" }, class: "ui button" %>
The text was updated successfully, but these errors were encountered: