Skip to content

Commit

Permalink
#91 fixed formatting of error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
StegSchreck authored and Sh4kE committed Nov 21, 2016
1 parent a8aa101 commit f35927a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<div class="container-fluid">
{% if messages %}
{% for message in messages %}
<div class="alert alert-{{ message.tags }} alert-dismissible" role="alert">
<div class="alert alert-{% if message.tags == 'error' %}danger{% else %}{{ message.tags }}{% endif %} alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
{{ message }}
</div>
Expand Down

0 comments on commit f35927a

Please sign in to comment.