Permalink
Browse files

added new configuration option to the generator template

  • Loading branch information...
1 parent 17cf01e commit e7cac9ea9adb8352d245614443ec9ca2920020cb @krzyzak krzyzak committed Feb 16, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/generators/simple_form/templates/config/initializers/simple_form.rb.tt
@@ -138,6 +138,9 @@ SimpleForm.setup do |config|
# You can define the class to use on all forms. Default is simple_form.
# config.form_class = :simple_form
+ # You can define which elements should obtain additional classes
+ # config.generate_additional_classes_for = [:wrapper, :label, :input]
+
# Whether attributes are required by default (or not). Default is true.
# config.required_by_default = true

0 comments on commit e7cac9e

Please sign in to comment.