django/templates/partials/topbar.html

15 lines
583 B
HTML
Executable File

{% load static %}
{% block header %}
<!-- Banner -->
{% if messages %}
{% for message in messages %}
<a href="#"{% if message.tags %} class="btn {{ message.tags }} w-full text-truncate rounded-0 py-2 border-0 position-relative" style="z-index: 1000;" {% endif %}>{{ message }}</a>
{% endfor %}
{% endif %}
<!--
<a href="#" class="btn btn-danger w-full text-truncate rounded-0 py-2 border-0 position-relative" style="z-index: 1000;">
<strong>Strong</strong> message here→
</a>
-->
{% endblock header %}