Skip to content

Instantly share code, notes, and snippets.

@sagevann
Created May 15, 2012 18:34
Show Gist options
  • Save sagevann/2704022 to your computer and use it in GitHub Desktop.
Save sagevann/2704022 to your computer and use it in GitHub Desktop.
this is for removing the flash message crap
-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