Created
May 15, 2012 18:34
-
-
Save sagevann/2704022 to your computer and use it in GitHub Desktop.
this is for removing the flash message crap
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
-111,7 +111,7 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga | |
111 111 | |
<% [:confirmation, :notice, :warning, :error].each do |msg| %> | |
112 112 | |
<% if flash[msg].present? %> | |
113 113 | |
<div class="container alert <%= msg.to_s %>"> | |
114 | |
- <%= flash[msg] %>asdfasdf asdf as dfa | |
114 | |
+ <%= flash[msg] %> | |
115 115 | |
<img src="<%= image_path 'icons/close.png' %>" alt="Close" title="Close" id="close-alert"/> | |
116 116 | |
</div> | |
117 117 | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment