First Push

This commit is contained in:
Christian Kagerbauer 2023-07-19 13:06:55 +02:00
parent fd55fd90d6
commit e195bce60e
4 changed files with 17 additions and 10 deletions

View file

@ -5,7 +5,7 @@ require_once 'vendor/autoload.php';
$modus = isset($_GET['modus']) ? $_GET['modus'] : "";
$form = new Formr\Formr('bootstrap5');
$form = new Formr\Formr('bootstrap');
$form->required = '*';
if ($form->submitted())
@ -23,6 +23,7 @@ if ($form->submitted())
switch ($modus){
case "Stunden":
echo "<h1>Stunden erfassen!</h1>";
$form->messages();
$form->create_form('Kunde, Wohnanlage, Arbeit, Stunden, Stundenlohn, Comments|textarea');
break;