Private
Public Access
1
0

edit race done

This commit is contained in:
Sander Roosendaal
2018-10-01 10:07:42 +02:00
parent f67bcdd95b
commit 9dbb9f58a1
2 changed files with 31 additions and 19 deletions

View File

@@ -1,34 +1,33 @@
{% extends "base.html" %}
{% extends "newbase.html" %}
{% load staticfiles %}
{% load rowerfilters %}
{% block title %}Edit Virtual Race{% endblock %}
{% block content %}
{% block main %}
<div class="grid_12 alpha">
<h1>Edit Race {{ race.name }}</h1>
<h1>Edit Race {{ race.name }}</h1>
<div class="grid_8 alpha">
<ul class="main-content">
<li class="grid_2">
<form enctype="multipart/form-data" action="{{ formloc }}" method="post">
{% if form.errors %}
<p style="color: red;">
Please correct the error{{ form.errors|pluralize }} below.
</p>
{% endif %}
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<div id="formbutton" class="grid_1 prefix_4 suffix_1">
<p>
<table>
{{ form.as_table }}
</table>
</p>
<p>
{% csrf_token %}
<input class="button green" type="submit" value="Save">
</div>
</p>
</form>
</div>
<div class="grid_4 omega">
</li>
<li class="grid_2 omega">
<p>
<ul>
<li>All times are local times in the race course time zone</li>
@@ -39,11 +38,16 @@
<li>Participants can submit results until the evaluation closure time.</li>
</ul>
</p>
</div>
</div>
</li>
</ul>
{% endblock %}
{% block scripts %}
{% endblock %}
{% block sidebar %}
{% include 'menu_racing.html' %}
{% endblock %}