Private
Public Access
1
0
Files
rowsandall/cvkbrno/templates/cvkbrno_races_list.html
Sander Roosendaal 196548fdcc staticfiles to static
2021-04-14 10:00:14 +02:00

51 lines
1.1 KiB
HTML

{% extends "cvkbrnobase.html" %}
{% load i18n %}
{% load static %}
{% load rowerfilters %}
{% block title %}{% trans "Races Admin" %}{% endblock %}
{% block content %}
<div id="workouts" class="grid_6 alpha">
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<h1>{% trans "Races Admin" %}</h1>
<div id="addcategory" class="grid_2 suffix_4 alpha">
<p>
<a class="button small green" href="/cvkbrno/transport/add">{% trans "Add Race Event" %}</a>
</p>
</div>
{% load tz %}
{% localtime on %}
<table class="listtable" width=100%>
<thead>
<tr>
<th>{% trans "Name" %}</th>
<th>{% trans "Start Date" %}</th>
<th>{% trans "End Date" %}</th>
<th>{% trans "Delete" %}</th>
</tr>
</thead>
<tbody>
{% for race in races %}
<tr>
<td>{{ race.name }}</td>
<td>{{ race.startdatetime }}</td>
<td>{{ race.enddatetime }}</td>
<td><a href="/cvkbrno/transport/{{ race.id }}/delete">D</a></td>
</tr>
{% endfor %}
<tbody>
</table>
{% endlocaltime %}
{% csrf_token %}
</div>
{% endblock %}