bia-fitness/old-shaft-files/templates/lifting/edit_plan.html

35 lines
812 B
HTML
Raw Permalink Normal View History

{% 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 %}