public function actionAssign($id) {
        $model = Yii::createObject([
                    'class' => Assignment::className(),
                    'user_id' => $id,
        ]);

        if ($model->load(\Yii::$app->request->post()) && $model->updateAssignments()) {
            
        }

        return \jarrus90\User\widgets\Assignments::widget([
                    'model' => $model,
        ]);
    }
public function actionAssign($id) {
        $model = Yii::createObject([
                    'class' => Assignment::className(),
                    'user_id' => $id,
        ]);

        if ($model->load(\Yii::$app->request->post()) && $model->updateAssignments()) {
            
        }

        return \jarrus90\User\widgets\Assignments::widget([
                    'model' => $model,
        ]);
    }
public function actionAssign ( $ id ) { $ model = Yii :: createObject ( [ 'class' => Assignment :: className ( ) , 'user_id' => $ id , ] ) ; if ( $ model -> load ( \ Yii :: $ app -> request -> post ( ) ) && $ model -> updateAssignments ( ) ) { } return \ jarrus90 \ User \ widgets \ Assignments :: widget ( [ 'model' => $ model , ] ) ; }
Show form with auth items for user.

@param int $id
Show form with auth items for user .