Merge pull request #1685 from buddha87/v1.1-dev

V1.1 dev
This commit is contained in:
buddha87 2016-05-02 13:05:46 +02:00
commit 8905daf4f0

View File

@ -69,7 +69,7 @@ use yii\widgets\ActiveForm;
$isManager = $group->isManager($data);
$yesSelected = ($isManager) ? 'selected' : '';
$noSelected = ($isManager) ? '' : 'selected';
$result = '<select class="managerDropDown" data-userid="'.$data->id.'" data-groupid="'.$group->id.'">';
$result = '<select class="managerDropDown editableCell form-control" data-userid="'.$data->id.'" data-groupid="'.$group->id.'">';
$result .= '<option value="0" '.$noSelected.'>'.Yii::t('AdminModule.views_group_manageGroupUser', 'No').'</option>';
$result .= '<option value="1" '.$yesSelected.'>'.Yii::t('AdminModule.views_group_manageGroupUser', 'Yes').'</option>';
return $result;