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