Skip to content

Instantly share code, notes, and snippets.

@johntron
Created November 4, 2011 22:39
Show Gist options
  • Save johntron/1340679 to your computer and use it in GitHub Desktop.
Save johntron/1340679 to your computer and use it in GitHub Desktop.
{% if app.session.hasFlash('notice') %}
<div class="flash-notice notice">
<div class="wrapper">{{ app.session.flash('notice') }}</div>
</div>
{% endif %}
{% if app.session.hasFlash('warning') %}
<div class="flash-notice warning">
<div class="wrapper">{{ app.session.flash('warning') }}</div>
</div>
{% endif %}
{% if app.session.hasFlash('video') %}
<div class="flash-notice video">
<div class="wrapper">
{{ app.session.flash('video') }}
<a class="close" href="#">Close</a>
<br class="clear" />
</div>
</div>
{% endif %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment