Add support to add events
This commit is contained in:
@@ -6,11 +6,18 @@
|
||||
<p class="h3">Anmeldungen</p>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-4 d-flex align-items-center">
|
||||
<div class="col-md-4 d-flex justify-content-center align-items-center flex-column">
|
||||
<!-- Button trigger modal -->
|
||||
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#staticBackdrop">
|
||||
<button type="button" class="btn btn-primary mb-2" data-bs-toggle="modal" data-bs-target="#staticBackdrop">
|
||||
Anmeldung hinzufügen
|
||||
</button>
|
||||
{% if event.recipe_link %}
|
||||
<div class="mb-3">
|
||||
<a href="{{ event.recipe_link }}" class="btn btn-outline-primary" target="_blank">
|
||||
<i class="bi bi-book"></i> Original Rezept ansehen
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="card">
|
||||
@@ -71,9 +78,9 @@
|
||||
<h1 class="modal-title fs-5" id="staticBackdropLabel">Anmeldung hinzufügen</h1>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
||||
</div>
|
||||
|
||||
<form action="/event/{{event.id}}/register" method="POST">
|
||||
<div class="modal-body">
|
||||
<p>Wenn dein Haushalt nicht auswählbar ist, existiert schon eine Anmeldung. Wenn du die Anmeldung ändern willst, lösche die bestehende Anmeldung und lege eine neue an.</p>
|
||||
<div class="mb-3">
|
||||
<select name="household" class="form-select" aria-label="Multiple select example">
|
||||
<option selected>Wer?</option>
|
||||
|
||||
Reference in New Issue
Block a user