diff --git a/jarvis/followup/templates/heightweight/list.html b/jarvis/followup/templates/heightweight/list.html index 5c2b3ea..5c1b196 100644 --- a/jarvis/followup/templates/heightweight/list.html +++ b/jarvis/followup/templates/heightweight/list.html @@ -46,7 +46,7 @@ {{ heightweight.date | date:"d-m-Y" }} {{ heightweight.gymnast }} {{ heightweight.height }} - {% if heightweight.hips_height == None %}-{% else %}{{ heightweight.hips_height }}{% endif %} + {{ heightweight.hips_height | default_if_none:"-" }} {{ heightweight.weight }} {{ heightweight.bmi | floatformat:2 }}