Country search in user form

This commit is contained in:
Martin Lensment 2014-10-07 17:05:52 +03:00
parent f104cf8a17
commit b403cbebcd

View file

@ -16,7 +16,7 @@
= f.text_field(:password, class: 'form-control') = f.text_field(:password, class: 'form-control')
.form-group .form-group
= f.label :country_id = f.label :country_id
= f.collection_select :country_id, Country.all, :id, :name, {}, { class: 'form-control' } = f.collection_select :country_id, Country.all, :id, :name, {}, { class: 'form-control selectize' }
.form-group .form-group
= f.label :identity_code = f.label :identity_code
= f.text_field(:identity_code, class: 'form-control') = f.text_field(:identity_code, class: 'form-control')