Display all 1rm

This commit is contained in:
Gabriel Augendre 2018-03-30 09:13:10 +02:00
parent a1e1e5490c
commit 2dfd335b04
No known key found for this signature in database
GPG key ID: F360212F958357D4

View file

@ -9,11 +9,13 @@
<div class="row">
<div class="col-12">
<h2>Max théorique</h2>
{% if equipment.last_theoretical_max %}
{% if equipment.theoretical_maxs.all %}
<ul class="list-group">
<li class="list-group-item">
{{ equipment.last_theoretical_max }}
</li>
{% for max in equipment.theoretical_maxs.all %}
<li class="list-group-item">
{{ max }}
</li>
{% endfor %}
</ul>
{% else %}
<p>Pas de max théorique pour le moment.</p>