templates/flash/flash.html.twig line 1

Open in your IDE?
  1. {% for type, flashes in app.session.flashbag.all() %}
  2.     {% for flash in flashes %}
  3.         {% if type in ['popup', 'unclosable-popup'] %}
  4.             <span class="flash {{ type }}" data-url="{{ flash }}"></span>
  5.         {% else %}
  6.             {% include 'flash/_flash_notification.html.twig' with {'type': type, 'message': flash.message|default(flash), 'parameters': flash.parameters|default({})} %}
  7.         {% endif %}
  8.     {% endfor %}
  9. {% endfor %}
  10. {% if app.session.get('showvroom_account_disabled') == true %}
  11.     <span class="flash unclosable-popup" data-url="{{ path('frontend_user_registration_waiting') }}"></span>
  12. {% endif %}