tg bot user
This commit is contained in:
@ -8,6 +8,14 @@ use app\modules\tgbot\models\Tgbot;
|
||||
$form = new \itguild\forms\ActiveForm();
|
||||
$form->beginForm(isset($model) ? "/admin/tg-bot/edit/" . $model->id : "/admin/tg-bot");
|
||||
|
||||
$form->field(class: \itguild\forms\inputs\TextInput::class, name: "user_id", params: [
|
||||
'class' => "form-control",
|
||||
'placeholder' => 'User ID',
|
||||
'value' => $model->user_id ?? ''
|
||||
])
|
||||
->setLabel("User ID")
|
||||
->render();
|
||||
|
||||
$form->field(class: \itguild\forms\inputs\TextInput::class, name: "bot_id", params: [
|
||||
'class' => "form-control",
|
||||
'placeholder' => 'Bot ID',
|
||||
|
Reference in New Issue
Block a user