Minor tweaks
* display date on event page * Filter existing subscriptions for new subscriptions dropdown * Add Typeahead for Team registration
This commit is contained in:
@@ -14,10 +14,11 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<p class="h1">{{ event.title }}</p>
|
||||
<p class="text-muted">{{ event.event_time.strftime('%A, %d.%m.%Y') }}</p>
|
||||
<p>{{ event.description }}</p>
|
||||
<hr class="hr"/>
|
||||
<p class="h3">Anmeldungen</p>
|
||||
<div class="container">
|
||||
<p class="h3">Anmeldungen</p>
|
||||
<div class="row m-2">
|
||||
<div class="col-md-4 d-flex justify-content-center align-items-center flex-column">
|
||||
<p class="text-muted w-100 mb-2">Anmeldung schließt {{ event.registration_deadline.strftime('%A, %d.%m.%Y, %H:%M Uhr') }}</p>
|
||||
@@ -214,8 +215,15 @@
|
||||
<div class="col-md-6">
|
||||
<label for="personName" class="form-label">Name</label>
|
||||
<input name="personName" id="personName" type="text" class="form-control"
|
||||
aria-label="Name">
|
||||
aria-label="Name" list="people">
|
||||
</div>
|
||||
<datalist id="people">
|
||||
{% for household in households %}
|
||||
{% for person in household.name.split(",") %}
|
||||
<option value="{{ person.strip() }}">
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</datalist>
|
||||
<div class="col-md-6">
|
||||
<label for="workType" class="form-label">Dienst-Art</label>
|
||||
<select id="workType" name="workType" class="form-select" aria-label="Multiple select example">
|
||||
|
||||
Reference in New Issue
Block a user