Add override level checkbox
This commit is contained in:
parent
354d1fbde3
commit
1eac26399f
@ -6,6 +6,7 @@ use App\Entity\User;
|
||||
use App\Entity\UserCase;
|
||||
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
|
||||
use Symfony\Component\Form\AbstractType;
|
||||
use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
|
||||
use Symfony\Component\Form\FormBuilderInterface;
|
||||
use Symfony\Component\OptionsResolver\OptionsResolver;
|
||||
|
||||
@ -18,6 +19,9 @@ class UserCaseFormType extends AbstractType
|
||||
'class' => User::class,
|
||||
'choice_label' => 'name',
|
||||
])
|
||||
->add('overrideLevel', CheckboxType::class, [
|
||||
'mapped' => false
|
||||
])
|
||||
;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user