2022-08-12 10:45:04 +02:00
|
|
|
-# Allowed @formats:
|
|
|
|
-# very light validation is made client-side
|
|
|
|
-# stronger validation is made server-side
|
|
|
|
= @form.phone_field :value,
|
|
|
|
id: @champ.input_id,
|
|
|
|
aria: { describedby: @champ.describedby_id },
|
|
|
|
placeholder: t(".placeholder"),
|
2022-10-17 10:05:59 +02:00
|
|
|
required: @champ.required?,
|
2022-08-12 10:45:04 +02:00
|
|
|
pattern: "[^a-z^A-Z]+"
|