demarches-normaliennes/app/views/shared/dossiers/editable_champs/_phone.html.haml
2020-08-20 15:33:03 +02:00

7 lines
220 B
Text

-# Allowed formats:
-# very light validation is made client-side
-# stronger validation is made server-side
= form.phone_field :value,
placeholder: champ.libelle,
required: champ.mandatory?,
pattern: "[^a-z^A-Z]+"