team multicreate
This commit is contained in:
@@ -5,7 +5,11 @@
|
||||
{% block title %}Plan entire microcycle{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
{% if team %}
|
||||
<h1>Create Group Sessions for {{ team.name }}</h1>
|
||||
{% else %}
|
||||
<h1>Create Sessions for {{ rower.user.first_name }} {{ rower.user.last_name }}</h1>
|
||||
{% endif %}
|
||||
|
||||
<ul class="main-content">
|
||||
<li class="grid_2">
|
||||
@@ -14,6 +18,9 @@
|
||||
<table>
|
||||
{{ dateform.as_table }}
|
||||
</table>
|
||||
<table>
|
||||
{{ teamform.as_table }}
|
||||
</table>
|
||||
<input type="Submit" value="Set Date Range">
|
||||
</form>
|
||||
</p>
|
||||
@@ -66,9 +73,15 @@
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% if team %}
|
||||
<a href="/rowers/sessions/multicreate/user/{{ rower.user.id }}/extra/{{ extrasessions }}/?when={{ timeperiod }}&team={{ team.id }}">
|
||||
Add More
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="/rowers/sessions/multicreate/user/{{ rower.user.id }}/extra/{{ extrasessions }}/?when={{ timeperiod }}">
|
||||
Add More
|
||||
</a>
|
||||
{% endif %}
|
||||
or
|
||||
<a href="/rowers/sessions/multiclone/user/{{ rower.user.id }}/?when={{ timeperiod }}">
|
||||
Clone multiple sessions
|
||||
|
||||
Reference in New Issue
Block a user