Skip to content

Commit

Permalink
[Backoffice] Add support for error and info messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoUseFreak committed Nov 4, 2015
1 parent fa881a9 commit 7305eb0
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
{% for flashMessage in app.session.flashbag.get('error') %}
<div class="alert alert-danger" role="alert">
{{ flashMessage }}
</div>
{% endfor %}

{% for flashMessage in app.session.flashbag.get('info') %}
<div class="alert alert-info" role="alert">
{{ flashMessage }}
</div>
{% endfor %}

{% for flashMessage in app.session.flashbag.get('success') %}
<div class="alert alert-success" role="alert">
{{ flashMessage }}
Expand Down

0 comments on commit 7305eb0

Please sign in to comment.