Private
Public Access
1
0

completing plan implementation form

This commit is contained in:
Sander Roosendaal
2021-03-22 19:59:32 +01:00
parent c07b06328e
commit f807396b0a
3 changed files with 35 additions and 19 deletions

View File

@@ -9,7 +9,7 @@
<h1>{{ plan.name }}</h1>
<ul class="main-content">
<li class="grid_4">
<li class="grid_2">
<p>Created by: {{ plan.owner.first_name }} {{ plan.owner.last_name }}</p>
{% if plan.url %}
<p>Link:
@@ -23,7 +23,25 @@
<p>{{ plan.hoursperweek }} hours per week</p>
<p>{{ plan.sessionsperweek }} sessions per week</p>
</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>
<li class="grid_4">
<h1>Plan Details</h1>
<table width="100%" class="listtable shortpadded">
<thead>
<tr>
@@ -58,23 +76,6 @@
</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 %}