crud menu
This commit is contained in:
1 parent
5b4676a4c0
commit
c325b156bd
28 files changed
+442
-132
No files matched your search
@@ -4,7 +4,6 @@
|
||||
*/
|
||||
|
||||
use app\models\Post;
|
||||
use app\models\User;
|
||||
|
||||
$form = new \itguild\forms\ActiveForm();
|
||||
$form->beginForm(isset($model) ? "/admin/post/edit/" . $model->id : "/admin/post");
|
||||
@@ -18,7 +17,6 @@ $form->field(class: \itguild\forms\inputs\TextArea::class, name: "content", para
|
||||
->setLabel("Пост")
|
||||
->render();
|
||||
$form->field(class: \itguild\forms\inputs\Select::class, name: "user_id", params: [
|
||||
//$form->field(class: \itguild\forms\inputs\Select::class, name: "username", params: [
|
||||
'class' => "form-control",
|
||||
'value' => $model->user_id ?? ''
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user