Skip to content

Commit

Permalink
Remove alert-warning from flash div.
Browse files Browse the repository at this point in the history
This class was added a while ago and overrides the passed in flash message category.
  • Loading branch information
boykoc committed Dec 3, 2019
1 parent fbab8f5 commit 750bbf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/templates/page.html
Expand Up @@ -24,7 +24,7 @@
<div class="flash-messages">
{% block flash_inner %}
{% for message in h.flash.pop_messages() | list %}
<div class="alert alert-warning fade in {{ message.category }}">
<div class="alert fade in {{ message.category }}">
{{ h.literal(message) }}
</div>
{% endfor %}
Expand Down

0 comments on commit 750bbf3

Please sign in to comment.