Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add support for button_to #14

Open
aidandamerell opened this issue Nov 7, 2018 · 1 comment
Open

Add support for button_to #14

aidandamerell opened this issue Nov 7, 2018 · 1 comment

Comments

@aidandamerell
Copy link

Current sweet alert is not triggered when a button_to tag is used. This should act in the same way a link_to or submit_tag works but the module doesn't define a function for button_to, only button_tag.
E.G.
<%= button_to "Click Me", root_path, data: { confirm: "Do it?" }, class: "ui button" %>

@smmr0
Copy link

smmr0 commented Feb 10, 2020

see #9

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants