File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -539,14 +539,14 @@ read any flash messages from the session using ``app.flashes()``:
539
539
540
540
{# app/Resources/views/base.html.twig #}
541
541
542
- {# you can read and display just one flash message type... #}
542
+ {# read and display just one flash message type #}
543
543
{% for message in app.flashes('notice') %}
544
544
<div class="flash-notice">
545
545
{{ message }}
546
546
</div>
547
547
{% endfor %}
548
548
549
- {# ...or you can read and display every flash message available for given labels #}
549
+ {# read and display several types of flash messages #}
550
550
{% for label, messages in app.flashes(['success', 'warning']) %}
551
551
{% for message in messages %}
552
552
<div class="flash-{{ label }}">
@@ -555,7 +555,7 @@ read any flash messages from the session using ``app.flashes()``:
555
555
{% endfor %}
556
556
{% endfor %}
557
557
558
- {# ...finally you can read and display every flash message available #}
558
+ {# read and display all flash messages #}
559
559
{% for label, messages in app.flashes %}
560
560
{% for message in messages %}
561
561
<div class="flash-{{ label }}">
You can’t perform that action at this time.
0 commit comments