17 lines
595 B
HTML
17 lines
595 B
HTML
{% extends 'base.html' %} {% block title %}Kalendarz | pdlzbs{% endblock %} {%
|
|
load static tailwind_tags %} {% block content %}
|
|
<div class="flex flex-col items-center gap-4">
|
|
{% for calendar in calendars %}
|
|
<article class="w-full pb-4">
|
|
<h1 class="text-[2.25rem] font-extrabold text-center">
|
|
Kalendarz {{ calendar.year }}
|
|
</h1>
|
|
<div>{{ calendar.content | safe }}</div>
|
|
</article>
|
|
{% if not forloop.last %}
|
|
<hr class="w-36 border-b border-stone-200" />
|
|
{% endif %} {% empty %}
|
|
<span class="py-4 text-xl">Brak kalendarzy</span>
|
|
{% endfor %} {% endblock %}
|
|
</div>
|