[#1421] Move departements to DepartementChamp

This commit is contained in:
Frederic Merizen 2018-06-15 14:36:48 +02:00 committed by Pierre de La Morinerie
parent 5b59bce0b6
commit 0239f936d7
6 changed files with 7 additions and 8 deletions

View file

@ -1,3 +1,3 @@
= form.select :value,
Champ.departements,
Champs::DepartementChamp.departements,
required: champ.mandatory?

View file

@ -1,2 +1,2 @@
= select_tag("champs['#{champ.id}']",
options_for_select(Champ.departements, selected: champ.object.value))
options_for_select(Champs::DepartementChamp.departements, selected: champ.object.value))