This gem have forked from ifad/data-confirm-modal.
https://github.com/ifad/data-confirm-modal
This gem did specific change for semantic-ui. I have tested on Rails. If you use without Rails, need to test maybe.
Add this line to your application's Gemfile:
gem 'data-confirm-modal-semantic-ui', github: 'kntmrkm/data-confirm-modal-semantic-ui'
Then execute:
$ bundle
And then require the Javascript from your application.js
:
//= require data-confirm-modal-semantic-ui
See original gem. It's almost same.
https://github.com/ifad/data-confirm-modal
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request