lib/generators/templates/formtastic.rb in formtastic-2.0.0.rc4 vs lib/generators/templates/formtastic.rb in formtastic-2.0.0.rc5

- old
+ new

@@ -70,13 +70,13 @@ # You can add custom inputs or override parts of Formtastic by subclassing Formtastic::FormBuilder and # specifying that class here. Defaults to Formtastic::FormBuilder. # Formtastic::Helpers::FormHelper.builder = MyCustomBuilder -# You can opt out of Formtastic's use of the HTML5 `required` attribute on `<input>`, `<select>` +# You can opt-in to Formtastic's use of the HTML5 `required` attribute on `<input>`, `<select>` # and `<textarea>` tags by setting this to false (defaults to true). -# Formtastic::FormBuilder.use_required_attribute = false +# Formtastic::FormBuilder.use_required_attribute = true -# You can opt out of new HTML5 browser validations (for things like email and url inputs) by setting +# You can opt-in to new HTML5 browser validations (for things like email and url inputs) by setting # this to false. Doing so will add a `novalidate` attribute to the `<form>` tag. # See http://diveintohtml5.org/forms.html#validation for more info. # Formtastic::FormBuilder.perform_browser_validations = true