From f8d4013ddc9db826a11d309789271a8e73174a61 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Thu, 14 Nov 2019 23:59:52 +0100 Subject: [PATCH 1/1] Add RegisterType form with phone field extension --- Form/RegisterType.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Form/RegisterType.php diff --git a/Form/RegisterType.php b/Form/RegisterType.php new file mode 100644 index 0000000..f7cda54 --- /dev/null +++ b/Form/RegisterType.php @@ -0,0 +1,24 @@ +add('phone', TelType::class, array('attr' => array('placeholder' => 'Your phone'), 'constraints' => array(new NotBlank(array('message' => 'Please provide your phone'))))); + } + + /** + * {@inheritdoc} + */ + public function getName() { + return 'rapsys_air_register'; + } +} -- 2.41.1