documentation update + code fixes
This commit is contained in:
		| @ -35,13 +35,16 @@ $unassignedItems = Yii::$container->get(AuthHelper::class)->getUnassignedItems($ | ||||
|  | ||||
| <?= $form->field($model, 'rule') ?> | ||||
|  | ||||
| <?= $form->field($model, 'children')->widget(SelectizeDropDownList::class, [ | ||||
|     'items' => $unassignedItems, | ||||
|     'options' => [ | ||||
|         'id' => 'children', | ||||
|         'multiple' => true, | ||||
|     ], | ||||
| ]) ?> | ||||
| <?= $form->field($model, 'children')->widget( | ||||
|     SelectizeDropDownList::class, | ||||
|     [ | ||||
|         'items' => $unassignedItems, | ||||
|         'options' => [ | ||||
|             'id' => 'children', | ||||
|             'multiple' => true, | ||||
|         ], | ||||
|     ] | ||||
| ) ?> | ||||
|  | ||||
| <?= Html::submitButton(Yii::t('usuario', 'Save'), ['class' => 'btn btn-success btn-block']) ?> | ||||
|  | ||||
|  | ||||
| @ -57,7 +57,7 @@ $this->params['breadcrumbs'][] = $this->title; | ||||
|                 'class' => ActionColumn::className(), | ||||
|                 'template' => '{update} {delete}', | ||||
|                 'urlCreator' => function ($action, $model) { | ||||
|                     return Url::to(['/user/role/'.$action, 'name' => $model['name']]); | ||||
|                     return Url::to(['/user/role/' . $action, 'name' => $model['name']]); | ||||
|                 }, | ||||
|                 'options' => [ | ||||
|                     'style' => 'width: 5%', | ||||
|  | ||||
		Reference in New Issue
	
	Block a user