(style): Adjust order to fix formatting of flash messages

Adjusted order in admin_index.html to fix formatting for flash messages.
This commit is contained in:
Blake Ridgway 2025-04-03 13:22:13 -05:00
parent abd2bef104
commit 85c9ab1364

View file

@ -7,8 +7,20 @@
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<h1>Subscribers</h1>
<p><a href="{{ url_for('send_update') }}">Send Update Email</a></p>
<p>
<a href="{{ url_for('send_update') }}">Send Update Email</a>|
<a href="{{ url_for('logout') }}">Logout</a>
</p>
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
{% for category, message in messages %}
<div class="flash">{{ message }}</div>
{% endfor %}
{% endif %}
{% endwith %}
{% if emails %}
<table>