Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Commit

Permalink
add class-attribute to flash elements
Browse files Browse the repository at this point in the history
This can be used to style errors and alerts accordingly
  • Loading branch information
johnyb committed May 1, 2012
1 parent 5b507f4 commit cdc02a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/share/_flash_messages.html.haml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- if flash[:notice]
#notice= flash[:notice]
- if flash[:error]
#notice= flash[:error]
#notice.error= flash[:error]
- if flash[:alert]
#notice= flash[:alert]
#notice.alert= flash[:alert]

0 comments on commit cdc02a6

Please sign in to comment.