Merge pull request #3525 from tchak/blank-region

Le champs liste des régions force un choix
This commit is contained in:
Paul Chavard 2019-03-05 11:16:04 +01:00 committed by GitHub
commit 05b6e496ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -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?

View file

@ -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?