2019-01-24 18:46:09 +01:00
|
|
|
-# Allowed formats:
|
2020-08-19 14:55:44 +02:00
|
|
|
-# 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,
|
2017-07-25 14:33:03 +02:00
|
|
|
placeholder: champ.libelle,
|
2019-01-24 18:46:09 +01:00
|
|
|
required: champ.mandatory?,
|
2020-08-19 14:55:44 +02:00
|
|
|
pattern: "[^a-z^A-Z]+"
|