Moved everything under annotations.
Some review is still needed.
This commit is contained in:
@@ -17,7 +17,7 @@ class ForumPostType extends AbstractType
|
||||
|
||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
{
|
||||
$builder->add('created_at', 'hidden', array(
|
||||
$builder->add('createdAt', 'hidden', array(
|
||||
'label' => 'Időpont',
|
||||
'data' => new \DateTime('now')
|
||||
));
|
||||
|
@@ -42,7 +42,7 @@ class UserType extends AbstractType
|
||||
));
|
||||
if (!$this->_registration)
|
||||
{
|
||||
$builder->add('user_data', new UserDataType(), array(
|
||||
$builder->add('userData', new UserDataType(), array(
|
||||
'label' => 'Egyéb adatok',
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user