src/Form/Frontend/Uniqskills/OrderErrorType.php line 10

Open in your IDE?
  1. <?php
  2. namespace App\Form\Frontend\Uniqskills;
  3. use Symfony\Component\Form\AbstractType;
  4. use Symfony\Component\Form\Extension\Core\Type\EmailType;
  5. use Symfony\Component\Form\Extension\Core\Type\TextareaType;
  6. use Symfony\Component\Form\FormBuilderInterface;
  7. class OrderErrorType extends AbstractType
  8. {
  9.     public function buildForm(FormBuilderInterface $builder, array $options)
  10.     {
  11.         $builder
  12.             ->add('email',
  13.                 EmailType::class,
  14.                 array(
  15.                     'label' => 'uniqskills.form.order.error.email'
  16.                 )
  17.             )
  18.             ->add('messageBody',
  19.                 TextareaType::class,
  20.                 array(
  21.                     'label' => 'uniqskills.form.order.error.messageBody'
  22.                 )
  23.             )
  24.         ;
  25.     }
  26. }