Formalize Rails

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


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 for more information.

Gem development

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