(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:
parent
abd2bef104
commit
85c9ab1364
1 changed files with 13 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue