Private
Public Access
1
0

all plan pages now have date range form

This commit is contained in:
Sander Roosendaal
2018-11-09 14:07:18 +01:00
parent 4955ee8692
commit 2f705d0aea
11 changed files with 152 additions and 26 deletions

View File

@@ -8,8 +8,34 @@
<h1>Create Sessions for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
<p>{{ timeperiod }}</p>
<p>
<form enctype="multipart/form-data" method="get">
<table>
{{ dateform.as_table }}
</table>
<input type="Submit" value="Set Date Range">
</form>
</p>
<ul class="main-content">
<li class="grid_2">
<h1>New Session</h1>
<form enctype="multipart/form-data" action=""
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 %}
<input class="button green" type="submit" value="Save">
</form>
<div class="padded" id="id_guidance">
</li>
<li class="grid_2">
<h1>Plan</h1>
<p>
@@ -59,24 +85,6 @@
</tbody>
</table>
</li>
<li class="grid_2">
<h1>New Session</h1>
<form enctype="multipart/form-data" action=""
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 %}
<input class="button green" type="submit" value="Save">
</form>
<div class="padded" id="id_guidance">
</li>
</ul>
{% endblock %}