diff options
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/simple_form.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/simple_form.rb b/config/initializers/simple_form.rb index 065999d0b..60bbcb778 100644 --- a/config/initializers/simple_form.rb +++ b/config/initializers/simple_form.rb @@ -52,7 +52,7 @@ SimpleForm.setup do |config| config.wrappers :with_label, class: :input, hint_class: :field_with_hint, error_class: :field_with_errors do |b| b.use :html5 - b.use :label_input + b.use :label_input, wrap_with: { tag: :div, class: :label_input } b.use :hint, wrap_with: { tag: :span, class: :hint } b.use :error, wrap_with: { tag: :span, class: :error } end |