Remove required in form #622

This commit is contained in:
Marc Ducobu 2015-09-28 14:08:03 +02:00
parent 4daa44ed57
commit 4bd5d70fb2
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class ActivityReasonCategoryType extends AbstractType
{
$builder
->add('name', 'translatable_string')
->add('active')
->add('active', 'checkbox', array('required' => false))
;
}

View File

@ -16,7 +16,7 @@ class ActivityReasonType extends AbstractType
{
$builder
->add('name', 'translatable_string')
->add('active')
->add('active', 'checkbox', array('required' => false))
->add('category', 'translatable_activity_reason_category')
;
}