From 2dfd335b0485a36946cc5535a576fc69a8964cd5 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 30 Mar 2018 09:13:10 +0200 Subject: [PATCH] Display all 1rm --- gym/templates/gym/equipment.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gym/templates/gym/equipment.html b/gym/templates/gym/equipment.html index 8e63cc9..ad6961d 100644 --- a/gym/templates/gym/equipment.html +++ b/gym/templates/gym/equipment.html @@ -9,11 +9,13 @@

Max théorique

- {% if equipment.last_theoretical_max %} + {% if equipment.theoretical_maxs.all %}
    -
  • - {{ equipment.last_theoretical_max }} -
  • + {% for max in equipment.theoretical_maxs.all %} +
  • + {{ max }} +
  • + {% endfor %}
{% else %}

Pas de max théorique pour le moment.