mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
Make country select searchable in registrar form
This commit is contained in:
parent
fd74733931
commit
e3d8ea088b
6 changed files with 11 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
.col-md-6.text-left
|
||||
.form-group
|
||||
= f.label :country_id
|
||||
= f.select :country_id, options_for_select(Country.all.map{|x| [x.name, x.id]}, @registrar.country_id), {}, {class: 'form-control'}
|
||||
= f.select :country_id, options_for_select(Country.all.map{|x| [x.name, x.id]}, @registrar.country_id), {}, {class: 'form-control selectize'}
|
||||
.form-group
|
||||
= f.label :address
|
||||
= f.text_field(:address, class: 'form-control')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue