mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 13:03:50 +00:00
An activity may have multiple reasons
The relationship between Activity and Reasons is now many-to-many. Some improvement in show activity layout. refs #4 #7
This commit is contained in:
@@ -85,7 +85,10 @@ class ActivityType extends AbstractType
|
||||
))
|
||||
->add('user')
|
||||
->add('scope')
|
||||
->add('reason', 'translatable_activity_reason')
|
||||
->add('reasons', 'translatable_activity_reason', array(
|
||||
'multiple' => true,
|
||||
'required' => false
|
||||
))
|
||||
->add('type', 'translatable_activity_type')
|
||||
//->add('person')
|
||||
;
|
||||
|
Reference in New Issue
Block a user