<?php
// src/AppBundle/Form/TaskType.php
namespace AppBundle\Form\Admin;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\FormBuilderInterface;

class ModerationDeclineType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('message', TextareaType::class, array(
                'label' => false,
                'required' => true,
                'attr' => array(
                    'class' => 'materialize-textarea',
                    'placeholder' => 'Commentaire (En cas de refus de l\'annonce'),
            ));
    }
}