Ojs\UserBundle\Form\Type\UserFirstType::buildForm PHP Method

buildForm() public method

public buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
$builder Symfony\Component\Form\FormBuilderInterface
$options array
    public function buildForm(FormBuilderInterface $builder, array $options)
    {
        $builder->add('title', null, ['label' => 'user.title'])->add('firstName', 'text', ['label' => 'firstname'])->add('lastName', 'text', ['label' => 'lastname'])->add('username', 'text', ['label' => 'username'])->add('password', 'password', array('label' => 'password', 'attr' => array('style' => 'color:#898989;font-size:80%')))->add('email', 'text', ['label' => 'email']);
    }