permettre au propriétaire du groupe de changer le propriétaire (ref #146)

This commit is contained in:
afornerot 2020-06-08 09:07:16 +02:00
parent 228993dbd6
commit 920e6d66d3
1 changed files with 20 additions and 22 deletions

View File

@ -58,7 +58,6 @@ class GroupType extends AbstractType
"attr" => array("class" => "form-control", "style" => "margin-bottom:15px","readonly" => ($options["mode"]=="delete"?true:false))
]);
if($options["access"]=="config") {
$builder->add('owner',
Select2EntityType::class, array(
'label' => "Propriétaire",
@ -80,7 +79,6 @@ class GroupType extends AbstractType
'attr' => array("class" => "form-control", "style" => "margin-bottom:15px")
));
}
}
if($options["access"]=="config") {
$builder->add("fgcancreatepage",