ifad / data-confirm-modal

Makes Rails' link_to confirm: 'foo' build a Bootstrap Modal instead of calling the browser's confirm() API.
MIT License
271 stars 115 forks source link

Allow overriding confirm and cancel button classes #10

Closed omockler closed 10 years ago

omockler commented 10 years ago

This would allow changing the class of the confirm or cancel buttons. Our use case was to have the confirm button have 'btn-primary' instead of the default 'btn-danger'

vjt commented 10 years ago

Gorgeous. Thank you! :cat: :cat: :cat: :beer: :purple_heart: