715f815f61
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" } |
||
---|---|---|
.. | ||
builder.rb | ||
form_helper.rb |