35 lines
812 B
HTML
35 lines
812 B
HTML
{% extends "lifting/base.html" %}
|
|
{% load lifting %}
|
|
|
|
{% block content %}
|
|
<input type="text" name="plan.name">
|
|
|
|
<div class="row">
|
|
{% for day in plan.days.all %}
|
|
<div class="col-md-4">
|
|
<input type="day.name">
|
|
{{day.name}}
|
|
<table class="table">
|
|
<thead>
|
|
<th>Exercise</th><th>Sets</th><th>Percent</th>
|
|
</thead>
|
|
<tbody>
|
|
{% for e in day.exercises.all %}
|
|
<tr>
|
|
<td>{{e.exercise}}</td>
|
|
<td>{{e.get_set_display}}</td>
|
|
<td>{{e.get_percent_display}}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block script %}
|
|
<script>
|
|
</script>
|
|
{% endblock %}
|