src/Form/PasswordForgotten.php line 18

Open in your IDE?
  1. <?php
  2. /**
  3.  * Eventfix - PasswordForgotten.php
  4.  * --------------------------------------------------------------------------
  5.  * Created by: mhs
  6.  * Created on: 14.7.2020
  7.  * --------------------------------------------------------------------------
  8.  * Copyright (c) 2020 | Michael Hack Software e.K. | www.mh-s.de
  9.  */
  10. namespace App\Form;
  11. use Core\Base\Form;
  12. use Core\Type\EmailType;
  13. use Symfony\Component\Form\Extension\Core\Type\SubmitType;
  14. use Symfony\Component\Form\FormBuilderInterface;
  15. class PasswordForgotten extends Form {
  16.     public function buildForm(FormBuilderInterface $builder, array $options) {
  17.         $builder
  18.             ->add('mail'EmailType::class, ['label' => false])
  19.             ->add('send'SubmitType::class, ['label' => 'Passwort zurücksetzen'])
  20.         ;
  21.     }
  22. }