We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 176cdc6 commit c2676aeCopy full SHA for c2676ae
quick_tour/the_controller.rst
@@ -330,9 +330,11 @@ And you can display the flash message in the template like this:
330
331
.. code-block:: html+jinja
332
333
- <div>
334
- {{ app.session.flashbag.get('notice')[0] }}
335
- </div>
+ {% for flashMessage in app.session.flashbag.get('notice') %}
+ <div class="flash-notice">
+ {{ flashMessage }}
336
+ </div>
337
+ {% endfor %}
338
339
Final Thoughts
340
--------------
0 commit comments