121 přidán editace zaka, assets formular zak
This commit is contained in:
@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user