Source

django-fitlog / fitlog / templates / fitlog / tags / weight_training_list.html

Full commit
1
2
3
4
5
6
7
8
{% if fitlog.weightfitlogdetail_set %}
<table border='1'>
    <tr><th>Exercise</th><th>Weight</th><th>Reps</th><th>Comments</th></tr>
{% for weight in fitlog.weightfitlogdetail_set.all %}
    <tr><td>{{weight.exercise_type}}</td><td>{{weight.get_weights}}</td><td>{{weight.get_reps}}</td><td>{{weight.comments|linebreaksbr|default:"&nbsp;"}}</td></tr>
{% endfor %}
</table>
{% endif %}