Skip to content

Commit

Permalink
Compatibility with tera
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Sep 16, 2024
1 parent b75d411 commit bc5e43e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions repologyapp/templates/_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ <h1 class="page-header">{% block header %}{% endblock %}</h1>
</div>
{% endblock %}

{% with flashed_messages = get_flashed_messages(with_categories=true) %}
{% set flashed_messages = get_flashed_messages(with_categories=true) %}
{% if flashed_messages or messages %}
<div class="container">
{% for category, message in flashed_messages %}
Expand All @@ -82,7 +82,6 @@ <h1 class="page-header">{% block header %}{% endblock %}</h1>
{% endfor %}
</div>
{% endif %}
{% endwith %}

{% block content %}
{% endblock %}
Expand Down

0 comments on commit bc5e43e

Please sign in to comment.