rephrase to 'Abmelden'; allow for cox as well

This commit is contained in:
philipp 2023-03-12 13:32:42 +01:00
parent b86d80c3dd
commit 273676ff54

View File

@ -50,7 +50,14 @@
{% endif %}
<strong class="block mt-1">Abfahrtszeit: {{ day.planned_starting_time }} Uhr</strong>
<div style="max-width: 75%">{{ trips | length }} angemeldete Person{{ trips | length | pluralize(plural="en") }}: {{ cox | length }} Steuerperson{{ cox | length | pluralize(plural="en") }} ({% for c in cox %}{{ c.user.name }} {% endfor %}), {{ rowers | length }} Ruderer:</div>
<div style="max-width: 75%">{{ trips | length }} angemeldete Person{{ trips | length | pluralize(plural="en") }}: {{ cox | length }} Steuerperson{{ cox | length | pluralize(plural="en") }} ({% for c in cox %}{{ c.user.name }} {% if c.user.name == user.name %}
<form method="post" action="/register">
<input type="hidden" name="_method" value="delete" />
<input type="hidden" name="day" value="{{ day.day}}" />
<input type="hidden" name="user" value="{{ c.user.id}}" />
<input type="submit" value="Abmelden" style="float: left;" />
</form>
{% endif %} {% endfor %}), {{ rowers | length }} Ruderer:</div>
<ol style="max-width: 75%">
{% for r in rowers %}
@ -62,7 +69,7 @@
<input type="hidden" name="day" value="{{ day.day}}" />
<input type="hidden" name="user" value="{{ r.user.id}}" />
<input type="submit" value="LÖSCHEN" />
<input type="submit" value="Abmelden" />
</form>
{% endif %}