121 přidán editace zaka, assets formular zak

This commit is contained in:
kankys
2024-10-09 17:45:43 +02:00
parent 262afa0716
commit 803bc5ca63
4 changed files with 66 additions and 14 deletions

View File

@ -81,20 +81,7 @@ if ($_SERVER ["REQUEST_METHOD"] === "POST") {
<main>
<section class="add-form">
<form action="pridat-zaka.php" method="POST">
<input type="text" name="first_name" placeholder="Křestní jméno" required value="<?= htmlspecialchars($first_name )?>">
<br>
<input type="text" name="second_name" placeholder="Příjmení" value="<?= htmlspecialchars($second_name) ?>" required>
<br>
<input type="number" name="age" placeholder="Věk" min="10" value="<?= htmlspecialchars($age)?>" required>
<br>
<!-- text area pamatovátko vložit mezi tagy -->
<textarea name="life" placeholder="Podrobnosti o žákovi" required><?= htmlspecialchars($life)?></textarea>
<br>
<input type="text" name="college" placeholder="Kolej" value="<?= htmlspecialchars($college) ?>" required>
<br>
<input type="submit" value="Přidat žáka">
</form>
<?php require "assets/formular-zak.php"; ?>
</section>