refactor: Remove address, fixed phone, and meal options from the registration form, update a sail type option, and delete the participants list page.
This commit is contained in:
parent
c160446eac
commit
4c435f8e17
3 changed files with 8 additions and 76 deletions
|
|
@ -77,14 +77,6 @@
|
|||
<label class="form-label">Naam</label>
|
||||
<input type="text" class="form-control" name="naam" required>
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<label class="form-label">Straat + Huisnr</label>
|
||||
<input type="text" class="form-control" name="straat">
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="form-label">Postcode</label>
|
||||
<input type="text" class="form-control" name="postcode">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Plaats</label>
|
||||
<input type="text" class="form-control" name="plaats">
|
||||
|
|
@ -94,13 +86,9 @@
|
|||
<input type="text" class="form-control" name="land" value="Nederland">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Telefoon (Mobiel)</label>
|
||||
<label class="form-label">Telefoonnummer</label>
|
||||
<input type="text" class="form-control" name="telefoonmobiel" required>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Telefoon (Vast)</label>
|
||||
<input type="text" class="form-control" name="telefoonvast">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Email</label>
|
||||
<input type="email" class="form-control" name="email" required>
|
||||
|
|
@ -115,19 +103,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Eten & Drinken -->
|
||||
<h4 class="section-title mt-4">Eten & Drinken</h4>
|
||||
<div class="row g-3 mb-3">
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Aantal personen Buffet (Zaterdag)</label>
|
||||
<input type="number" class="form-control" name="buffet" min="0" placeholder="0">
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<label class="form-label">Aantal personen Ontbijt (Zondag)</label>
|
||||
<input type="number" class="form-control" name="ontbijt" min="0" placeholder="0">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-4">
|
||||
<label class="form-label">Opmerkingen</label>
|
||||
<textarea class="form-control" name="opmerkingen" rows="3"></textarea>
|
||||
|
|
|
|||
|
|
@ -1,43 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="nl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Deelnemerslijst</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body class="bg-light p-4">
|
||||
<div class="container bg-white p-4 rounded shadow">
|
||||
<h2 class="mb-4 text-primary">Huidige Deelnemers</h2>
|
||||
<a href="/" class="btn btn-outline-secondary mb-4">← Terug naar inschrijving</a>
|
||||
|
||||
<table class="table table-striped table-hover">
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th>Klasse</th>
|
||||
<th>Zeilnummer</th>
|
||||
<th>Bootnaam</th>
|
||||
<th>Type</th>
|
||||
<th>Schipper</th>
|
||||
<th>Vereniging</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for boat in boats %}
|
||||
<tr>
|
||||
<td>{{ boat.klasse }}</td>
|
||||
<td>{{ boat.zeilnummer }}</td>
|
||||
<td>{{ boat.bootnaam }}</td>
|
||||
<td>{{ boat.boottype }}</td>
|
||||
<td>{{ boat.naam }}</td>
|
||||
<td>{{ boat.vereniging }}</td>
|
||||
</tr>
|
||||
{% else %}
|
||||
<tr>
|
||||
<td colspan="6" class="text-center">Nog geen inschrijvingen.</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue