Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (19 sloc) 0.748 kb

Formalize Rails

This gem vendors Formalize to the asset pipeline. Therefore, this gem requires Rails 3.1 and greater.

Usage

Add this gem to your gemfile:

gem 'formalize-rails'

And add app/assets/stylesheets/application.css:

//= require formalize

And add one of these lines to app/assets/javascripts/application.js, depending on which javascript framework you are using:

//= require dojo.formalize
//= require extjs.formalize
//= require jquery.formalize
//= require mootools.formalize
//= require prototype.formalize
//= require yui.formalize

See formalize.me for more information.

Gem development

Run rake update to get the latest and greatest styles from formalize.

Jump to Line
Something went wrong with that request. Please try again.