Пример #1
0
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->addTab('Informations')->addBlock('Main', array('column' => 'col-md-6'))->add('title')->add('content')->endBlock();
 }
Пример #2
0
 public function buildForm(FormBuilderInterface $builder, array $options)
 {
     $builder->addTab('Informations')->addBlock('Main', array('column' => 'col-md-6'))->add('email')->endBlock()->addBlock('Security', array('column' => 'col-md-6'))->add('username')->add('plain_password')->add('roles')->add('enabled')->endBlock();
 }