Created
August 1, 2010 13:55
-
-
Save samullen/503384 to your computer and use it in GitHub Desktop.
mp.html
This file contains 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
<div id="message-popdown" class="grid_12"> | |
<% if flash[:error_msg] %> | |
<span class="error-msg"><%= flash[:error_msg] %></span> | |
<% elsif flash[:success_msg] %> | |
<span class="success-msg"><%= flash[:success_msg] %></span> | |
<% elsif flash[:warning_msg] %> | |
<span class="warning-msg"><%= flash[:warning_msg] %></span> | |
<% elsif flash[:message] %> | |
<span class="notice-msg"><%= flash[:message] %></span> | |
<% end %> | |
<% flash[:error_msg] = flash[:success_msg] = nil %> | |
<% flash[:warning_msg] = flash[:message] = nil %> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment