{% load static %} {% block title %}ClubManager{% endblock title %} {# Apply the stored theme before first paint, otherwise the page flashes the wrong colours. With no stored preference we set nothing, so daisyUI's `dark --prefersdark` follows the OS. #} {% block extra_head %}{% endblock extra_head %} {% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}
{% block main %}{% endblock main %}