kekrozsak/src/KekRozsak/FrontBundle/Form/Type/GroupType.php
Gergely POLONKAI aed588e5e2 Applied php-cs-fixer and added some @PHPDoc
Signed-off-by: Gergely POLONKAI <polesz@w00d5t0ck.info>
2012-08-17 16:18:43 +02:00

28 lines
610 B
PHP

<?php
namespace KekRozsak\FrontBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
class GroupType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder->add('name', null, array(
'label' => 'A csoport neve',
)
);
$builder->add('description', 'ckeditor', array(
'label' => 'A csoport leírása',
)
);
}
public function getName()
{
return 'group';
}
}