Private
Public Access
1
0
Files
rowsandall/cvkbrno/templates/cvkbrno_races_list.html~
sanderroosendaal 3eed3cc3e7 Uploading files
2016-10-30 17:39:32 +01:00

45 lines
951 B
HTML

{% extends "cvkbrnobase.html" %}
{% load i18n %}
{% load staticfiles %}
{% 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>
<table class="listtable" width=100%>
<thead>
<tr>
<th>{% trans "Name" %}</th>
<th>{% trans "Edit" %}</th>
</tr>
</thead>
<tbody>
{% for race in races %}
<tr>
<td>{{ race.name }}</td>
<td><a href="/cvkbrno/transport/{{ race.id }}/edit">E</a></td>
</tr>
{% endfor %}
<tbody>
</table>
{% csrf_token %}
</div>
{% endblock %}