copy/pasts plan to calendar
This commit is contained in:
@@ -10,6 +10,14 @@
|
||||
|
||||
<ul class="main-content">
|
||||
<li class="grid_4">
|
||||
<p>Created by: {{ plan.owner.first_name }} {{ plan.owner.last_name }}</p>
|
||||
<p>Plan length: {{ plan.duration }} days</p>
|
||||
<p>{{ plan.description }}</p>
|
||||
<p>{{ plan.target }}</p>
|
||||
<p>Goal: {{ plan.goal }}</p>
|
||||
<p>{{ plan.hoursperweek }} hours per week</p>
|
||||
</li>
|
||||
<li class="grid_2">
|
||||
<table width="100%" class="listtable">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -34,6 +42,23 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
<li class="grid_2">
|
||||
<p>
|
||||
When you submit this form, a training plan will be created based on {{ plan.name }}, ending at your target date,
|
||||
and the sessions will be copied to your session calendar.
|
||||
</p>
|
||||
<p>
|
||||
You can select the end date manually or use the training target (if you have any), and the plan will start at
|
||||
the date it needs to complete in time.
|
||||
</p>
|
||||
<form enctype="multipart/form-data" action="" method="post">
|
||||
<table>
|
||||
{{ form.as_table }}
|
||||
</table>
|
||||
{% csrf_token %}
|
||||
<p><input class="button" type="submit" value="Create Plan and Add Sessions"></p>
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user