Jahreswechsel-Abenteuer

This commit is contained in:
Klaas Börgmann 2025-01-09 21:23:00 +01:00
parent 48eddac62d
commit cce6e40a5b
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@
<label for="training-date">Datum wählen:</label> <label for="training-date">Datum wählen:</label>
<select id="training-date" name="id" onchange="this.form.submit()"> <select id="training-date" name="id" onchange="this.form.submit()">
<% trainingsDates.forEach(date => { %> <% trainingsDates.forEach(date => { %>
<option value="<%= date.id %>" <%= selectedKW === date.kw ? 'selected' : '' %>> <option value="<%= date.id %>" <%= selectedKW === date.kw && selectedYear == date.jahr ? 'selected' : '' %>>
<%= date.datum %> %> <%= date.datum %> %>
</option> </option>
<% }) %> <% }) %>