From c2a54901fb352a5be310b6088d9a1141886b0ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Wed, 5 May 2010 12:07:12 -0700 Subject: [PATCH] wrapper_tag is by default a :div. --- lib/generators/simple_form_install/templates/simple_form.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/generators/simple_form_install/templates/simple_form.rb b/lib/generators/simple_form_install/templates/simple_form.rb index 30e73cad..27a741ec 100644 --- a/lib/generators/simple_form_install/templates/simple_form.rb +++ b/lib/generators/simple_form_install/templates/simple_form.rb @@ -13,8 +13,8 @@ SimpleForm.setup do |config| # Default tag used on errors. # config.error_tag = :span - # You can wrap all inputs in a pre-defined tag. By default is nil. - # config.wrapper_tag = nil + # You can wrap all inputs in a pre-defined tag. + # config.wrapper_tag = :div # How the label text should be generated altogether with the required text. # config.label_text = lambda { |label, required| "#{required} #{label}" }