Private
Public Access
1
0

select by country on virtualevents

This commit is contained in:
Sander Roosendaal
2018-04-15 16:07:58 +02:00
parent 4865ae99fd
commit dbce91725d
3 changed files with 54 additions and 5 deletions

View File

@@ -19,10 +19,38 @@
</div>
<div class="grid_12 alpha">
<form>
{{ form.as_table }}
<form enctype="multipart/form-data" method="post">
<div class="grid_8 alpha">
{{ form.as_table }}
{% csrf_token %}
</div>
<div class="grid_2">
<input name='form' class='button green' type='submit' value="Submit">
</div>
</form>
</div>
<div class="grid_12 alpha">
<table width="100%" class="listtable shortpadded">
<thead>
<tr>
<th>Date</th>
<th>Event</th>
<th>Country</th>
<th>Course</th>
</tr>
</thead>
<tbody>
{% for race in races %}
<tr>
<td>{{ race.startdate }}</td>
<td><a href="/rowers/virtualevent/{{ race.id }}">{{ race.name }}</a></td>
<td>{{ race.course.country }}</td>
<td>{{ race.course.name }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>