Update app/models/type_de_champ.rb
Co-authored-by: Paul Chavard <paul.chavard@beta.gouv.fr>
This commit is contained in:
parent
6380859668
commit
d1d2f30833
1 changed files with 1 additions and 1 deletions
|
@ -501,7 +501,7 @@ class TypeDeChamp < ApplicationRecord
|
||||||
elsif region?
|
elsif region?
|
||||||
APIGeoService.regions.map { [_1[:name], _1[:code]] }
|
APIGeoService.regions.map { [_1[:name], _1[:code]] }
|
||||||
elsif choice_type?
|
elsif choice_type?
|
||||||
if drop_down_list_options?
|
if drop_down_list?
|
||||||
enabled_non_empty_options
|
enabled_non_empty_options
|
||||||
elsif yes_no?
|
elsif yes_no?
|
||||||
Champs::YesNoChamp.options
|
Champs::YesNoChamp.options
|
||||||
|
|
Loading…
Reference in a new issue