fix routes and translatable string in admin prototype

ref #12
ref #13
ref #14
ref #15
This commit is contained in:
2016-06-10 17:07:34 +02:00
parent 69af3e8d43
commit c8fcab4d1d
21 changed files with 105 additions and 69 deletions

View File

@@ -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)
;
}