[fix] wrong administration members formatting

main
yaemiku 2022-07-07 02:39:40 +02:00
parent 1aab5fa70d
commit 92069aa6cb
Signed by: podlaskizbs
GPG Key ID: ADC039636B3E4AAB
1 changed files with 5 additions and 3 deletions

View File

@ -3,19 +3,21 @@
<div class="flex flex-col items-center gap-4">
<h1 class="text-4xl">Zarząd PodlZBS</h1>
{% for member in czlonkowie %}
{% if czlonkowie %}
<div
class="grid lg:grid-cols-2 gap-4 text-center items-center place-items-center prose-h1:font-light prose-h3:text-xs prose-h2:text-md prose-h2:my-0 prose-h1:mb-0"
>
{% for member in czlonkowie %}
<div class="prose">
<h1>{{ member.function }}</h1>
<h2>{{ member.name }}</h2>
<h3>{{ member.contact }}</h3>
</div>
</div>
{% empty %}
<span class="py-4 text-xl">Brak członków</span>
{% endfor %}
</div>
{% else %}
<span class="py-4 text-xl">Brak członków</span>
{% endif %}
<div class="prose prose-h2:font-light">
<a href="{{ statut.attachment.url }}" target="_blank">