Put IntegerNumberChamp behind a flag

This commit is contained in:
Paul Chavard 2018-10-31 19:51:11 +01:00
parent 074050a91a
commit ca09aa52a3
2 changed files with 4 additions and 1 deletions

View file

@ -3,7 +3,8 @@ module TypeDeChampHelper
TypeDeChamp.type_champs.fetch(:piece_justificative) => :champ_pj?, TypeDeChamp.type_champs.fetch(:piece_justificative) => :champ_pj?,
TypeDeChamp.type_champs.fetch(:siret) => :champ_siret?, TypeDeChamp.type_champs.fetch(:siret) => :champ_siret?,
TypeDeChamp.type_champs.fetch(:linked_drop_down_list) => :champ_linked_dropdown?, TypeDeChamp.type_champs.fetch(:linked_drop_down_list) => :champ_linked_dropdown?,
TypeDeChamp.type_champs.fetch(:carte) => :champ_carte? TypeDeChamp.type_champs.fetch(:carte) => :champ_carte?,
TypeDeChamp.type_champs.fetch(:integer_number) => :champ_integer_number?
} }
def tdc_options def tdc_options

View file

@ -15,6 +15,8 @@ Flipflop.configure do
title: "Champ double menu déroulant" title: "Champ double menu déroulant"
feature :champ_carte, feature :champ_carte,
title: "Champ Carte" title: "Champ Carte"
feature :champ_integer_number,
title: "Champ nombre entier"
end end
feature :web_hook feature :web_hook