Localize flashed messages in base.html
This commit is contained in:
parent
bfc42bba19
commit
934f7ae676
@ -26,7 +26,7 @@
|
||||
{% block header %}{% endblock %}
|
||||
</header>
|
||||
{% for message in get_flashed_messages() %}
|
||||
<div class="flash">{{ message }}</div>
|
||||
<div class="flash">{{ localize(message) }}</div>
|
||||
{% endfor %}
|
||||
{% block content %}{% endblock %}
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue
Block a user