Private
Public Access
1
0

register multiple disciplines

This commit is contained in:
Sander Roosendaal
2018-06-01 12:25:36 +02:00
parent 3998c7dded
commit 25249f4b53
7 changed files with 246 additions and 65 deletions

View File

@@ -83,6 +83,9 @@
{% if button == 'withdrawbutton' %}
<a href="/rowers/virtualevent/{{ race.id }}/withdraw" class="button gray small grid_2">Withdraw</a>
{% endif %}
{% if button == 'adddisciplinebutton' %}
<a href="/rowers/virtualevent/{{ race.id }}/adddiscipline" class="button gray small grid_2">Register New Boat</a>
{% endif %}
{% if button == 'editbutton' %}
<a href="/rowers/virtualevent/{{ race.id }}/edit" class="button gray small grid_2">Edit Race</a>
{% endif %}
@@ -167,6 +170,11 @@
<td>{{ record.boattype }}</td>
<td>{{ record.age }}</td>
<td>{{ record.weightcategory }}</td>
{% if record.userid == rower.id %}
<td>
<a href="/rowers/virtualevent/{{ race.id }}/withdraw/{{ record.id }}" >Withdraw</a>
</td>
{% endif %}
</tr>
{% endfor %}
</tbody>