forked from Ruderverein-Donau-Linz/rowt
		
	rephrase to 'Abmelden'; allow for cox as well
This commit is contained in:
		@@ -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 %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user