[fix #3710] date with letter
Co-Authored-By: simon lehericey <mail@simon.lehericey.net>
This commit is contained in:
parent
d11e246112
commit
abcd58c35d
7 changed files with 62 additions and 9 deletions
|
@ -30,6 +30,10 @@
|
|||
= render partial: "shared/champs/siret/show", locals: { champ: c, profile: profile }
|
||||
- when TypeDeChamp.type_champs.fetch(:textarea)
|
||||
= render partial: "shared/champs/textarea/show", locals: { champ: c }
|
||||
- when TypeDeChamp.type_champs.fetch(:date)
|
||||
= try_format_date(c.to_s)
|
||||
- when TypeDeChamp.type_champs.fetch(:datetime)
|
||||
= try_format_datetime(c.to_s)
|
||||
- else
|
||||
= sanitize(c.to_s)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue