modalbox_confirm icon indicating copy to clipboard operation
modalbox_confirm copied to clipboard

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

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/ctcherry/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 ([email protected]), released under the MIT license