edit race done
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -373,11 +373,13 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
.main-content li {
|
||||
margin: 0;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
|
||||
.main-content li.grid_2 {
|
||||
grid-column-end: span 1;
|
||||
}
|
||||
@@ -540,4 +542,10 @@ aside .cd-accordion-menu.animated label::before {
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
|
||||
|
||||
|
||||
main li li {
|
||||
list-style: disc outside none;
|
||||
margin-left: 30px;
|
||||
padding: 1.2em;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user