]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_flash.html.erb
Make all names translatable
[rails.git] / app / views / layouts / _flash.html.erb
index 0380a50945454794a7065785c8ad07d0b7822c59..a3cbbc2072b4296aef09b6a07e0b92f391e7b46f 100644 (file)
@@ -1,11 +1,11 @@
 <% if flash[:error] %>
-  <div id="error"><%= raw flash[:error] %></div>
+  <div id="error" class="flash"><%=image_tag("notice.png", :class => "small_icon", :border=>0)%><%= raw flash[:error] %></div>
 <% end %>
 
 <% if flash[:warning] %>
-  <div id="warning"><%= raw flash[:warning] %></div>
+  <div id="warning" class="flash"><%=image_tag("notice.png", :class => "small_icon", :border=>0)%><%= raw flash[:warning] %></div>
 <% end %>
 
 <% if flash[:notice] %>
-  <div id="notice"><%= raw flash[:notice] %></div>
+  <div id="notice" class="flash"><%=image_tag("notice.png", :class => "small_icon", :border=>0)%><%= raw flash[:notice] %></div>
 <% end %>