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