Skip to content

mikebannister/confirmable

Repository files navigation

Confirmable

Progressively enhanced confirmation dialogs for Rails actions

Synopsis

TODO

Installation

Install the gem

gem install confirmable

Mount the engine

mount Confirmable::Engine => '/confirm'

Example usage

Use the URL helper in your views

<%= confirm_link_to 'Destroy', widget, method: :delete %>

TODO

  • Progressive enhancements!!

  • try to deal with forms

  • try to deal with model forms

  • try to deal non-POST actions

About

Progressively enhanced confirmation dialogs for Rails actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published