SHARE
TWEET

Untitled

a guest Jun 17th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {% for flashMessage in app.session.flashbag.get('error') %}
  2.     <div class="flash-notice">
  3.         {{ flashMessage }}
  4.     </div>
  5. {% endfor %}
  6.      
  7. {% for type, flashMessages in app.session.flashbag.all() %}
  8.     {% for flashMessage in flashMessages %}
  9.         <div class="alert alert-{{ type }}">
  10.             {{ flashMessage|trans }}
  11.         </div>
  12.     {% endfor %}
  13. {% endfor %}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top