63 lines
1.4 KiB
HTML
63 lines
1.4 KiB
HTML
{% extends "newbase.html" %}
|
|
{% load staticfiles %}
|
|
{% load rowerfilters %}
|
|
|
|
{% block title %}Submit challenge Result{% endblock %}
|
|
|
|
{% block meta %}
|
|
<script type='text/javascript'
|
|
src='https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js'>
|
|
</script>
|
|
<script type='text/javascript'
|
|
src='https://ajax.aspnetcdn.com/ajax/jquery.validate/1.14.0/jquery.validate.min.js'>
|
|
</script>
|
|
<script>
|
|
</script>
|
|
{% endblock %}
|
|
|
|
|
|
{% block main %}
|
|
<h1>Submit Your Result for {{ race.name }}</h1>
|
|
|
|
<ul class="main-content">
|
|
<li class="grid_4">
|
|
<form id="race_submit_form"
|
|
method="post">
|
|
<p>Select one of the following workouts that you rowed within the challenge window</p>
|
|
<table width="100%">
|
|
<tr>
|
|
{% for field in w_form.hidden_fields %}
|
|
{{ field }}
|
|
{% endfor %}
|
|
{% for field in w_form.visible_fields %}
|
|
<td>
|
|
{{ field.label }}
|
|
{{ field }}
|
|
</td>
|
|
{% endfor %}
|
|
</tr>
|
|
</table>
|
|
<p>
|
|
{% csrf_token %}
|
|
<input type="submit" value="Submit">
|
|
</p>
|
|
</li>
|
|
<li class="grid_4">
|
|
<p>
|
|
Warning: If you submit a workout that was marked as "private", it will
|
|
be made public by submitting it as a challenge result.
|
|
</p>
|
|
</li>
|
|
</ul>
|
|
|
|
|
|
</form>
|
|
{% endblock %}
|
|
|
|
{% block scripts %}
|
|
{% endblock %}
|
|
|
|
{% block sidebar %}
|
|
{% include 'menu_racing.html' %}
|
|
{% endblock %}
|