Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function buildForm(FormBuilderInterface $builder, array $options)
- {
- $builder
- ->add('fullName', TextType::class,)
- ->add('email', TextType::class,)
- ->add('password', RepeatedType::class,
- [
- 'type' => PasswordType::class,
- 'invalid_message' => 'The ( Passwords ) do not match.',
- 'first_options' => array('label' => 'Password'),
- 'second_options' => array('label' => 'Confirm Password')
- ])
- ->add('image', FileType::class,
- [
- 'data_class' => null
- ]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement