This commit is contained in:
Alex Sherman 2021-05-17 14:02:08 +05:00
parent 0f0a069027
commit 7ca35150cd

View file

@ -31,6 +31,6 @@
= f.label :country_code, t(:country) + '*'
.col-md-7
- country_selected = f.object.persisted? ? f.object.country_code : 'EE'
= f.select(:country_code, SApplicationController.helpers.all_country_options(country_selected),
= f.select(:country_code, ApplicationController.helpers.all_country_options(country_selected),
{ include_blank: true }, required: true)