(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:
@@ -7,8 +7,20 @@
|
|||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<h1>Subscribers</h1>
|
<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 %}
|
{% if emails %}
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
Reference in New Issue
Block a user