permettre au propriétaire du groupe de changer le propriétaire (ref #146)
This commit is contained in:
parent
228993dbd6
commit
920e6d66d3
|
@ -58,7 +58,6 @@ class GroupType extends AbstractType
|
||||||
"attr" => array("class" => "form-control", "style" => "margin-bottom:15px","readonly" => ($options["mode"]=="delete"?true:false))
|
"attr" => array("class" => "form-control", "style" => "margin-bottom:15px","readonly" => ($options["mode"]=="delete"?true:false))
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if($options["access"]=="config") {
|
|
||||||
$builder->add('owner',
|
$builder->add('owner',
|
||||||
Select2EntityType::class, array(
|
Select2EntityType::class, array(
|
||||||
'label' => "Propriétaire",
|
'label' => "Propriétaire",
|
||||||
|
@ -80,7 +79,6 @@ class GroupType extends AbstractType
|
||||||
'attr' => array("class" => "form-control", "style" => "margin-bottom:15px")
|
'attr' => array("class" => "form-control", "style" => "margin-bottom:15px")
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if($options["access"]=="config") {
|
if($options["access"]=="config") {
|
||||||
$builder->add("fgcancreatepage",
|
$builder->add("fgcancreatepage",
|
||||||
|
|
Loading…
Reference in New Issue