fix simple_form deprecations
This commit is contained in:
parent
7ac3f54709
commit
12bf2198e5
4 changed files with 19 additions and 16 deletions
|
|
@ -98,7 +98,7 @@ SimpleForm.setup do |config|
|
|||
config.label_class = 'control-label'
|
||||
|
||||
# You can define the class to use on all forms. Default is simple_form.
|
||||
config.form_class = 'form-horizontal'
|
||||
config.default_form_class = 'form-horizontal'
|
||||
|
||||
# You can define which elements should obtain additional classes
|
||||
# config.generate_additional_classes_for = [:wrapper, :label, :input]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue