From 92069aa6cbc958dfa3f4342e3c698df2ec6cfc5e Mon Sep 17 00:00:00 2001 From: yaemiku Date: Thu, 7 Jul 2022 02:39:40 +0200 Subject: [PATCH] [fix] wrong administration members formatting --- core/templates/administration.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/templates/administration.html b/core/templates/administration.html index 0429115..f15ed85 100644 --- a/core/templates/administration.html +++ b/core/templates/administration.html @@ -3,19 +3,21 @@

Zarząd PodlZBS

- {% for member in czlonkowie %} + {% if czlonkowie %}
+ {% for member in czlonkowie %}

{{ member.function }}

{{ member.name }}

{{ member.contact }}

+ {% endfor %}
- {% empty %} + {% else %} Brak członków - {% endfor %} + {% endif %}