heartcombo--simple_form/lib/simple_form/action_view_extensions
Ryan McGeary 715f815f61 Add default_form_class and allow form class overrides
This is especially useful with bootstrap forms where you might want to
switch to a `form-inline` layout even though the default is a
`form-horizontal`.

This deprecates SimpleForm.form_class in favor of
SimpleForm.default_form_class.

e.g.
config.default_form_class = "form-horizontal"
simple_form_for @user, html: { class: "form-inline" }
2014-07-23 18:04:49 -04:00
..
builder.rb
form_helper.rb Add default_form_class and allow form class overrides 2014-07-23 18:04:49 -04:00