training-links fix
This commit is contained in:
parent
0d51ea3e47
commit
c5c8eec27b
|
@ -2,11 +2,11 @@
|
|||
<h1>
|
||||
<div>
|
||||
<% if (previousTraining) { %>
|
||||
<a href="/?date=<%= moment(previousTraining.datum).format('DD.MM.YYYY') %>"> < </a>
|
||||
<a href="/training?date=<%= moment(previousTraining.datum).format('DD.MM.YYYY') %>"> < </a>
|
||||
<% } %>
|
||||
Training <%= training.datum %>
|
||||
<% if (nextTraining) { %>
|
||||
<a href="/?date=<%= moment(nextTraining.datum).format('DD.MM.YYYY') %>"> > </a>
|
||||
<a href="/training?date=<%= moment(nextTraining.datum).format('DD.MM.YYYY') %>"> > </a>
|
||||
<% } %>
|
||||
</h1>
|
||||
</div>
|
||||
|
@ -101,7 +101,7 @@
|
|||
<% } %>
|
||||
</div>
|
||||
|
||||
<form method="GET" action="/">
|
||||
<form method="GET" action="/training">
|
||||
<label for="training-date">Datum wählen:</label>
|
||||
<select id="training-date" name="date" onchange="this.form.submit()">
|
||||
<% trainingsDates.forEach(date => { %>
|
||||
|
|
Loading…
Reference in New Issue