Skip to content

Instantly share code, notes, and snippets.

View corntrace's full-sized avatar

Kevin corntrace

  • Shanghai, China
View GitHub Profile
@corntrace
corntrace / README
Created July 9, 2011 14:44 — forked from andersonsp/README
Rails 3 custom form builder implementing a simple color picker based on JQuery and CaryonBox plugin
INSTALLATION
the rails application must have support for JQuery
get JQuery.Crayonbox.js at http://gelform.com/crayonbox-jquery-plugin/
add the plugin JQuery.Crayonbox.js to /public/javascript folder
add the crayonbox css to /public/stylesheets folder
add color_picker_form_builder.rb to the /lib folder
add to the view or layout file: