[#1421] Subject linked dropdown field to feature toggle
This commit is contained in:
parent
d3df6e813c
commit
226e3ca562
2 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,8 @@
|
||||||
module TypeDeChampHelper
|
module TypeDeChampHelper
|
||||||
TOGGLES = {
|
TOGGLES = {
|
||||||
'piece_justificative' => :champ_pj?,
|
'piece_justificative' => :champ_pj?,
|
||||||
'siret' => :champ_siret?
|
'siret' => :champ_siret?,
|
||||||
|
'linked_drop_down_list' => :champ_linked_dropdown?
|
||||||
}
|
}
|
||||||
|
|
||||||
def tdc_options
|
def tdc_options
|
||||||
|
|
|
@ -11,6 +11,8 @@ Flipflop.configure do
|
||||||
title: "Champ pièce justificative"
|
title: "Champ pièce justificative"
|
||||||
feature :champ_siret,
|
feature :champ_siret,
|
||||||
title: "Champ SIRET"
|
title: "Champ SIRET"
|
||||||
|
feature :champ_linked_dropdown,
|
||||||
|
title: "Champ double menu déroulant"
|
||||||
end
|
end
|
||||||
|
|
||||||
feature :web_hook
|
feature :web_hook
|
||||||
|
|
Loading…
Reference in a new issue