Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added new configuration option to the generator template

  • Loading branch information...
commit e7cac9ea9adb8352d245614443ec9ca2920020cb 1 parent 17cf01e
@krzyzak krzyzak authored
View
3  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
Please sign in to comment.
Something went wrong with that request. Please try again.