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()``:
539539
540540 {# app/Resources/views/base.html.twig #}
541541
542- {# you can read and display just one flash message type... #}
542+ {# read and display just one flash message type #}
543543 {% for message in app.flashes('notice') %}
544544 <div class="flash-notice">
545545 {{ message }}
546546 </div>
547547 {% endfor %}
548548
549- {# ...or you can read and display every flash message available for given labels #}
549+ {# read and display several types of flash messages #}
550550 {% for label, messages in app.flashes(['success', 'warning']) %}
551551 {% for message in messages %}
552552 <div class="flash-{{ label }}">
@@ -555,7 +555,7 @@ read any flash messages from the session using ``app.flashes()``:
555555 {% endfor %}
556556 {% endfor %}
557557
558- {# ...finally you can read and display every flash message available #}
558+ {# read and display all flash messages #}
559559 {% for label, messages in app.flashes %}
560560 {% for message in messages %}
561561 <div class="flash-{{ label }}">
You can’t perform that action at this time.
0 commit comments