From f4bc9620a9701db17cb8f651643f65c984e65c27 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sat, 28 Jan 2017 03:56:10 +0100 Subject: Update settings to re-use admin layout, one big navigation tree, improve settings forms --- config/initializers/simple_form.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/initializers/simple_form.rb') 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 -- cgit