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,
|
2022-01-05 11:44:07 +01:00
|
|
|
id: champ.input_id,
|
|
|
|
aria: { describedby: champ.describedby_id },
|
2022-07-04 18:37:30 +02:00
|
|
|
placeholder: t(".placeholder"),
|
2019-01-24 18:46:09 +01:00
|
|
|
required: champ.mandatory?,
|
2020-08-19 14:55:44 +02:00
|
|
|
pattern: "[^a-z^A-Z]+"
|