mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-18 19:22:49 +00:00
Remove required in form #622
This commit is contained in:
@@ -16,7 +16,7 @@ class ActivityReasonCategoryType extends AbstractType
|
|||||||
{
|
{
|
||||||
$builder
|
$builder
|
||||||
->add('name', 'translatable_string')
|
->add('name', 'translatable_string')
|
||||||
->add('active')
|
->add('active', 'checkbox', array('required' => false))
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -16,7 +16,7 @@ class ActivityReasonType extends AbstractType
|
|||||||
{
|
{
|
||||||
$builder
|
$builder
|
||||||
->add('name', 'translatable_string')
|
->add('name', 'translatable_string')
|
||||||
->add('active')
|
->add('active', 'checkbox', array('required' => false))
|
||||||
->add('category', 'translatable_activity_reason_category')
|
->add('category', 'translatable_activity_reason_category')
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user