Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2019-03-25 20:44:13 +01:00
parent 61982d24ce
commit 2e77366b94
3 changed files with 13 additions and 18 deletions

View File

@@ -69,27 +69,20 @@
{{ the_div |safe }}
</li>
<li class="grid_2">
<p>
<p>Filter on date
<form enctype="multipart/form-data" method="post">
<table>
{{ dateform.as_table }}
</table>
{% csrf_token %}
<input name='daterange' type="submit" value="Submit">
</form>
</p>
{% if team %}
<p>and keyword</p>
<p>
<form id="searchform" action="/rowers/list-workouts/team/{{ team.id }}/{{ startdate|date:"Y-m-d" }}/{{ enddate|date:"Y-m-d" }}/"
method="get" accept-charset="utf-8">
{% else %}
<form id="searchform" action="/rowers/list-workouts/{{ startdate|date:"Y-m-d" }}/{{ enddate|date:"Y-m-d" }}/"
method="get" accept-charset="utf-8">
{% endif %}
{{ searchform }}
<input type="submit" value="GO">
</input>
</form>
{{ searchform }}
</p>
<p>
<input name='daterange' type="submit" value="Submit">
</form>
</p>
<p>
{% if rankingonly and not team %}