mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
fix routes and translatable string in admin prototype
ref #12 ref #13 ref #14 ref #15
This commit is contained in:
@@ -5,6 +5,8 @@ namespace Chill\EventBundle\Form;
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
|
||||
use Chill\MainBundle\Form\Type\TranslatableStringFormType;
|
||||
use Chill\EventBundle\Form\Type\PickEventType;
|
||||
|
||||
class StatusType extends AbstractType
|
||||
{
|
||||
@@ -15,9 +17,9 @@ class StatusType extends AbstractType
|
||||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||||
{
|
||||
$builder
|
||||
->add('name')
|
||||
->add('name', TranslatableStringFormType::class)
|
||||
->add('active')
|
||||
->add('type')
|
||||
->add('type', PickEventType::class)
|
||||
;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user