diff --git a/webapp/src/Form/Type/JuryClarificationType.php b/webapp/src/Form/Type/JuryClarificationType.php index 16e3c0bec9..9d41138f84 100644 --- a/webapp/src/Form/Type/JuryClarificationType.php +++ b/webapp/src/Form/Type/JuryClarificationType.php @@ -99,7 +99,6 @@ public function buildForm(FormBuilderInterface $builder, array $options): void ]); $builder->add('message', TextareaType::class, [ - 'label' => false, 'attr' => [ 'rows' => 5, 'cols' => 85, diff --git a/webapp/src/Form/Type/TeamClarificationType.php b/webapp/src/Form/Type/TeamClarificationType.php index b21367a634..804edc754e 100644 --- a/webapp/src/Form/Type/TeamClarificationType.php +++ b/webapp/src/Form/Type/TeamClarificationType.php @@ -10,6 +10,7 @@ use Symfony\Component\Form\Extension\Core\Type\TextareaType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\FormBuilderInterface; +use Symfony\Component\Validator\Constraints\NotEqualTo; class TeamClarificationType extends AbstractType { @@ -50,7 +51,6 @@ public function buildForm(FormBuilderInterface $builder, array $options): void 'choices' => $subjects, ]); $builder->add('message', TextareaType::class, [ - 'label' => false, 'attr' => [ 'rows' => 5, 'cols' => 85, diff --git a/webapp/templates/jury/partials/clarification_form.html.twig b/webapp/templates/jury/partials/clarification_form.html.twig index 34ae213ff1..fac7ac4897 100644 --- a/webapp/templates/jury/partials/clarification_form.html.twig +++ b/webapp/templates/jury/partials/clarification_form.html.twig @@ -1,25 +1,12 @@ {{ form_start(form) }} {{ form_row(form.recipient) }} {{ form_row(form.subject) }} -