]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_flash.html.erb
Mark some strings that shouldn't be escaped as raw
[rails.git] / app / views / layouts / _flash.html.erb
1 <% if flash[:error] %>
2   <div id="error"><%= raw flash[:error] %></div>
3 <% end %>
4
5 <% if flash[:warning] %>
6   <div id="warning"><%= raw flash[:warning] %></div>
7 <% end %>
8
9 <% if flash[:notice] %>
10   <div id="notice"><%= raw flash[:notice] %></div>
11 <% end %>