Fix create conference form
- adds HTML 5 validations
This commit is contained in:
parent
adfa9cc871
commit
27f35a49c6
4 changed files with 21 additions and 15 deletions
|
|
@ -73,7 +73,7 @@ Formtastic::FormBuilder.required_string = "(required)"
|
|||
# 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
|
||||
Formtastic::FormBuilder.perform_browser_validations = true
|
||||
#
|
||||
Formtastic::Helpers::FormHelper.builder = FormtasticBootstrap::FormBuilder
|
||||
FormtasticBootstrap::FormBuilder.default_inline_hint_class = FormtasticBootstrap::FormBuilder.default_block_hint_class
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue