Merge pull request #5311 from betagouv/rename-menu-deroulant
Rename menu deroulant
This commit is contained in:
commit
748672a7df
4 changed files with 7 additions and 7 deletions
|
@ -1177,7 +1177,7 @@ enum TypeDeChamp {
|
|||
dossier_link
|
||||
|
||||
"""
|
||||
Menu déroulant
|
||||
Choix parmi une liste
|
||||
"""
|
||||
drop_down_list
|
||||
|
||||
|
@ -1212,7 +1212,7 @@ enum TypeDeChamp {
|
|||
linked_drop_down_list
|
||||
|
||||
"""
|
||||
Menu déroulant à choix multiples
|
||||
Choix multiples
|
||||
"""
|
||||
multiple_drop_down_list
|
||||
|
||||
|
|
|
@ -18,8 +18,8 @@ fr:
|
|||
phone: 'Téléphone'
|
||||
address: 'Adresse'
|
||||
yes_no: 'Oui/Non'
|
||||
drop_down_list: 'Menu déroulant'
|
||||
multiple_drop_down_list: 'Menu déroulant à choix multiples'
|
||||
drop_down_list: 'Choix parmi une liste'
|
||||
multiple_drop_down_list: 'Choix multiples'
|
||||
linked_drop_down_list: 'Deux menus déroulants liés'
|
||||
pays: 'Pays'
|
||||
regions: 'Régions'
|
||||
|
|
|
@ -50,7 +50,7 @@ FactoryBot.define do
|
|||
type_champ { TypeDeChamp.type_champs.fetch(:datetime) }
|
||||
end
|
||||
factory :type_de_champ_drop_down_list do
|
||||
libelle { 'Menu déroulant' }
|
||||
libelle { 'Choix parmi une liste' }
|
||||
type_champ { TypeDeChamp.type_champs.fetch(:drop_down_list) }
|
||||
drop_down_list_value { "val1\r\nval2\r\n--separateur--\r\nval3" }
|
||||
trait :long do
|
||||
|
|
|
@ -135,7 +135,7 @@ feature 'As an administrateur I can edit types de champ', js: true do
|
|||
it "Add dropdown champ" do
|
||||
add_champ
|
||||
|
||||
select('Menu déroulant', from: 'champ-0-type_champ')
|
||||
select('Choix parmi une liste', from: 'champ-0-type_champ')
|
||||
fill_in 'champ-0-libelle', with: 'Libellé de champ menu déroulant', fill_options: { clear: :backspace }
|
||||
fill_in 'champ-0-drop_down_list_value', with: 'Un menu', fill_options: { clear: :backspace }
|
||||
|
||||
|
|
Loading…
Reference in a new issue