Skip to content

Commit

Permalink
fix help format message contact #2124
Browse files Browse the repository at this point in the history
  • Loading branch information
numew committed Mar 11, 2024
1 parent afa115c commit cc2aced
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Form/ContactType.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
'minlength' => 10,
],
'label' => 'Votre message',
'help' => 'Ne partagez pas d\'informations sensibles (par ex. mot de passe, numéro de carte bleue, etc).',
'help' => 'Ne partagez pas d\'informations sensibles (par ex. mot de passe, numéro de carte bleue, etc).<br>Format : 10 caractères minimum.',
'help_html' => true,
'constraints' => [
new Assert\NotBlank(message: 'Merci de renseigner votre message.'),
new Assert\Length(min: 10, minMessage: 'Votre message doit comporter au moins 10 caractères.'),
Expand Down

0 comments on commit cc2aced

Please sign in to comment.