This commit is contained in:
kali
2024-04-16 17:54:37 +03:00
parent a3faec247e
commit 05cbb7ef43
4 changed files with 40 additions and 8 deletions

View File

@ -16,7 +16,18 @@ use itguild\forms\inputs\TextArea;
->setLabel("Название формы")
->render();
$form->field(TextInput::class, name: "title", params: [
'class' => "form-control",
'placeholder' => 'Perpage'
])
->setLabel("Количество выводимых записей на страницу")
->render();
$form->field(TextArea::class, name: "title", params: [
'class' => "form-control",
'placeholder' => 'Параметры'
])
->setLabel("Параметры")
->render();
?>
<button style="margin-top:15px" type="button" id="buttonAdd" class="btn btn-primary form-control" onclick="ajaxRequest()">Добавить поле</button>