mirror of
https://github.com/internetee/registry.git
synced 2025-05-22 04:09:52 +02:00
Require country code #2776
This commit is contained in:
parent
cc672a420b
commit
011c8db173
1 changed files with 3 additions and 2 deletions
|
@ -31,5 +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, SortedCountry.all_options(country_selected),
|
||||
{ include_blank: true }
|
||||
= f.select(:country_code, SortedCountry.all_options(country_selected),
|
||||
{ include_blank: true }, required: true)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue