Merge pull request #3525 from tchak/blank-region
Le champs liste des régions force un choix
This commit is contained in:
commit
05b6e496ee
2 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
= form.select :value,
|
= form.select :value,
|
||||||
Champs::PaysChamp.pays,
|
Champs::PaysChamp.pays,
|
||||||
|
include_blank: true,
|
||||||
required: champ.mandatory?
|
required: champ.mandatory?
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
= form.select :value,
|
= form.select :value,
|
||||||
Champs::RegionChamp.regions,
|
Champs::RegionChamp.regions,
|
||||||
|
include_blank: true,
|
||||||
required: champ.mandatory?
|
required: champ.mandatory?
|
||||||
|
|
Loading…
Reference in a new issue