templates/includes/flash_messages.html.twig line 1

Open in your IDE?
  1. {# ...or you can read and display every flash message available #}
  2. {% for label, messages in app.flashes %}
  3.     {% for message in messages %}
  4.         <div style="padding: 0 20px 0 20px">
  5.             <div class="alert alert-{{ label }} alert-bordered" role="alert">
  6.                 <button type="button" class="close" data-dismiss="alert"><span>×</span><span
  7.                             class="sr-only">{{ 'close'|trans }}</span></button>
  8.                 <span class="text-semibold">
  9.                 {{ message }}
  10.             </span>
  11.             </div>
  12.         </div>
  13.     {% endfor %}
  14. {% endfor %}