Created
March 13, 2015 02:04
-
-
Save dphaener/d8bac1ac106cec1ffb2b to your computer and use it in GitHub Desktop.
Flash HTML for Basewise
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% if flash[:success] %> | |
<div class="flash-success"> | |
<span><%= flash[:success] %></span> | |
</div> | |
<% end %> | |
<% if flash[:error] %> | |
<div class="flash-error"> | |
<span><%= flash[:error] %></span> | |
</div> | |
<% end %> | |
<% if flash[:notice] %> | |
<div class="flash-notice"> | |
<span><%= flash[:notice] %></span> | |
</div> | |
<% end %> | |
<% if flash[:alert] %> | |
<div class="flash-alert"> | |
<span><%= flash[:alert] %></span> | |
</div> | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment