use_required_attribute/perform_browser_validations initializer documentation fix #858

merged 1 commit into from Jun 9, 2012


None yet

3 participants

phillipp commented Jun 9, 2012

Currently, the documentation in the generated initializer states that you can opt-in by setting the following to false, which seems to be wrong:

# Formtastic::FormBuilder.use_required_attribute = true
# Formtastic::FormBuilder.perform_browser_validations = true

I fixed that in the commit.

@sobrinho sobrinho merged commit e764875 into justinfrench:master Jun 9, 2012
sobrinho commented Jun 9, 2012

Thanks @phillipp!


There's still another fix to be done. 🐌

Doing so will remove a novalidate attribute from the <form> tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment