Загрузить файлы в «/»

This commit is contained in:
commit 9be7b4d31e

19
index.php Normal file
View File

@ -0,0 +1,19 @@
<?php
require_once "src/Form.php";
use src\Form;
$form = new Form();
$form->beginForm("tsad");
$form->input("phone", ['placeholder' => 'Введите телефон', 'class' => 'form-group']);
$form->input("email", ['placeholder' => 'Введите email']);
$form->input("email", ['type' => 'number']);
$form->createLabel("Button", ["for" => "b1"]);
$form->createCheckbox("Button", "1", ["class" => 'sdsa', "id" => "b1"]);
$form->createLabel("RadioButton", ["for" => "r2"]);
$form->createRadio("name1", ["id" => "r2"]);
$form->createLabel("RadioButton", ["for" => "r3"]);
$form->createRadio("name1", ["id" => "r3"]);
$form->createTextarea("textarea", "dsadasads", ["id" => "t1"]);
$form->endForm();