{% extends 'administration.html' %}
<!---->
{% block title %}Zarząd - Protokoły i Uchwały | pdlzbs{% endblock %}
<!---->
{% load static tailwind_tags %} {% block adm_content %}
<h2>Protokoły i Uchwały</h2>
{% if protokoly %}
<table>
  <thead>
    <tr>
      <th>Dokument</th>
      <th>Rok</th>
    </tr>
  </thead>
  <tbody>
    {% for file in protokoly %}
    <tr>
      <td>
        <a
          href="{{ file.attachment.url }}"
          target="_blank"
          class="font-semibold"
          >{{ file }}</a
        >
        <br />
        <span>{{ file.extra }}</span>
      </td>
      <td>{{ file.year }}</td>
    </tr>
    {% endfor %}
  </tbody>
</table>
{% else %}
<h4>Brak protokołów / ustaw</h4>
{% endif %} {% endblock %}
