feat(types de champ): add EPCI champ

This commit is contained in:
Paul Chavard 2023-01-19 09:43:19 +01:00
parent f38ee8f03f
commit a4cbbe721e
24 changed files with 337 additions and 11 deletions

View file

@ -52,6 +52,8 @@
= render partial: "shared/champs/regions/show", locals: { champ: c }
- when TypeDeChamp.type_champs.fetch(:rna)
= render partial: "shared/champs/rna/show", locals: { champ: c, profile: profile }
- when TypeDeChamp.type_champs.fetch(:epci)
= render partial: "shared/champs/epci/show", locals: { champ: c }
- when TypeDeChamp.type_champs.fetch(:date)
= c.to_s
- when TypeDeChamp.type_champs.fetch(:datetime)