This repository has been archived on 2023-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
web/app/view/pages/teamtable/edit/update.php

48 lines
1.5 KiB
PHP
Raw Normal View History

2022-03-02 06:15:20 +00:00
<?php
// Escape values
foreach ($team as $key => $value) {
$team[$key] = htmlspecialchars($value);
}
?>
2022-02-09 15:59:20 +00:00
<h1>Endre lagdetaljer</h1>
2022-02-14 01:52:59 +00:00
<p>Her kan du oppdatere informasjonen om laget</p>
<form method="post" autocomplete="off">
2022-02-14 10:23:05 +00:00
<label for="LagNavn">Navn:</label>
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<input type="text" id="LagNavn" name="LagNavn" value="<?=$team['LagNavn']?>" maxlength="32">
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<label for="Bedrift">Bedrift:</label>
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<input type="text" id="Bedrift" name="Bedrift" value="<?=$team['Bedrift']?>" maxlength="32">
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<label for="Kortnummer">Kortnummer:</label>
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<input type="text" id="Kortnummer" name="Kortnummer" value="<?=$team['Kortnummer']?>" maxlength="32">
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<label for="Lagleder">Leder:</label>
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<input type="text" id="Lagleder" name="Lagleder" value="<?=$team['Lagleder']?>" maxlength="32">
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<label for="Telefon">Telefon:</label>
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<input type="number" id="Telefon" name="Telefon" value="<?=$team['Telefon']?>" maxlength="32">
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<label for="Deltagere">Deltagere:</label>
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<input type="number" id="Deltagere" name="Deltagere" value="<?=$team['Deltagere']?>" maxlength="32">
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<label for="Runder">Runder:</label>
2022-02-09 15:59:20 +00:00
<br>
2022-02-14 10:23:05 +00:00
<input type="number" id="Runder" name="Runder" value="<?=$team['Runder']?>" maxlength="32">
2022-02-09 15:59:20 +00:00
<br>
<br>
2022-02-14 01:52:59 +00:00
<input type="submit" value="Lagre">
<span>[&nbsp;<a class="danger" href="index.php">Avbryt</a>&nbsp;]</span>
2022-02-09 15:59:20 +00:00
</form>