RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: clekstro
Site: www.canvus.io
The entire form can be given a class, for instance to use twitter's bootstrap, through the following:
def boot_form_for(object, options={}, &block) options[:builder] = Bootstrapped options[:html] = { :class => "form-horizontal" } form_for(object, options, &block) end
The entire form can be given a class, for instance to use twitter's bootstrap, through the following: