Skip to content

This Rails plugin overrides the :confirm message of links to display inside of a ModalBox

License

MIT, MIT licenses found

Licenses found

MIT
MIT-LICENSE
MIT
MODALBOX-LICENSE
Notifications You must be signed in to change notification settings

introkun/modalbox_confirm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

modalbox_confirm Plugin
=======================

modalbox_confirm Plugin hooks into the default rails link_to helpers to implement ModalBox (a javascript message display library) when using a :confirm message

ModalBox website: http://www.wildbit.com/labs/modalbox/

INSTALL
=======

- Install this plugin
$ ruby script/plugin install git://github.com/seriph/modalbox_confirm.git

- Install the modalbox library
$ ruby script/generate modalbox_install

USAGE
=====

- On pages where you use confirm messages make sure you are using <%= javascript_include_tag :defaults %> and <%= stylesheet_link_tag 'modalbox.css' %>

- Any :confirm message you use is now replaced with the ModalBox



Copyright (c) 2008 Chris Cherry (ctcherry@gmail.com), released under the MIT license

About

This Rails plugin overrides the :confirm message of links to display inside of a ModalBox

Resources

License

MIT, MIT licenses found

Licenses found

MIT
MIT-LICENSE
MIT
MODALBOX-LICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 83.8%
  • Ruby 16.2%