Use native HTML email validation instead of "jquery validate"

This commit is contained in:
Artur Beljajev 2017-04-04 14:58:20 +03:00
parent e72c00850b
commit 2c67ed9673
5 changed files with 7 additions and 11 deletions

View file

@ -38,7 +38,7 @@
.col-md-4.control-label
= f.label :email
.col-md-8
= f.text_field(:email, class: 'form-control', lax_email: true)
= f.email_field :email, class: 'form-control'
.form-group
.col-md-4.control-label
= f.label :country_code, t(:country)