demarches-normaliennes/app/views/shared/dossiers/editable_champs/_phone.html.haml

8 lines
220 B
Text
Raw Normal View History

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