mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-26 18:21:02 +00:00
Fix toast since Materialize upgrade
This commit is contained in:
parent
6165e61048
commit
00c618946c
4 changed files with 12 additions and 12 deletions
|
@ -5,11 +5,11 @@
|
|||
<div class="card-content">
|
||||
|
||||
{% if error %}
|
||||
<script>Materialize.toast('{{ error.messageKey|trans(error.messageData, 'security') }}', 4000)</script>
|
||||
<p class="material-toast hidden">{{ error.messageKey|trans(error.messageData, 'security') }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% for flash_message in app.session.flashbag.get('notice') %}
|
||||
<script>Materialize.toast('{{ flash_message }}')</script>
|
||||
<p class="material-toast hidden">{{ flash_message }}</p>
|
||||
{% endfor %}
|
||||
|
||||
<div class="row">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue