1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00

Reword browser validations comment in generated initializer [ci skip]

This commit is contained in:
Carlos Antonio da Silva 2013-04-03 20:52:56 -03:00
parent 54c72b4953
commit 9dca432fd4

View file

@ -106,9 +106,11 @@ SimpleForm.setup do |config|
# Whether attributes are required by default (or not). Default is true.
# config.required_by_default = true
# Tell browsers whether to use default HTML5 validations (novalidate option).
# To restore the default (enabled), comment the below line or change it to true
# However false is recommmended because simple_form can't control their behavior
# Tell browsers whether to use the native HTML5 validations (novalidate form option).
# These validations are enabled in SimpleForm's internal config but disabled by default
# in this configuration, which is recommended due to some quirks from different browsers.
# To stop SimpleForm from generating the novalidate option, enabling the HTML5 validations,
# change this configuration to true.
config.browser_validations = false
# Collection of methods to detect if a file type was given.