templates/flashes.html.twig line 1

Open in your IDE?
  1. <div class="container">
  2.     <div class="row">
  3.         {# Success should be always on the top @https://aqarmap.atlassian.net/browse/CON-1561 #}
  4.         {% for label, flashes in app.flashes(['success']) %}
  5.             {% for flash in flashes %}
  6.                 <div class="alert alert-{{ label }} alert-dismissable">
  7.                     <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
  8.                     {{ flash | raw }}
  9.                 </div>
  10.             {% endfor %}
  11.         {% endfor %}
  12.         {% for label, flashes in app.flashes(['warning', 'error', 'notice', 'danger', 'info']) %}
  13.             {% for flash in flashes %}
  14.                 <div class="alert alert-{{ label }} alert-dismissable">
  15.                     <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
  16.                     {{ flash | raw }}
  17.                 </div>
  18.             {% endfor %}
  19.         {% endfor %}
  20.         {% if notifyLogo or notifyPersonalPhoto %}
  21.             {% include "logo-znn.html.twig" %}
  22.         {% endif %}
  23.         {% if notifyExpiry %}
  24.             {% include "expiry-znn.html.twig" %}
  25.         {% endif %}
  26.         {% if notifyPersonalIsNotCompleted %}
  27.             {% include "personalInfoZnn.html.twig" %}
  28.         {% endif %}
  29.     </div>
  30. </div>