X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/42cdcce858e38418403aa4733837da4c3a62ff34..58bb08aba8d55ee1b897f0846688ea642a409e77:/app/views/layouts/site.html.erb diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb index d1983a9f0..d4626d143 100644 --- a/app/views/layouts/site.html.erb +++ b/app/views/layouts/site.html.erb @@ -18,8 +18,14 @@
- <% if @notice || flash[:notice] %> -
<%= @notice || flash[:notice] %>
+ <% if flash[:error] %> +
<%= flash[:error] %>
+ <% end %> + <% if flash[:warning] %> +
<%= flash[:warning] %>
+ <% end %> + <% if flash[:notice] %> +
<%= flash[:notice] %>
<% end %> <%= yield %> @@ -115,7 +121,7 @@
<%= t 'layouts.help_wiki' %>
- <%= t 'layouts.news_blog' %>
+ <%= t 'layouts.news_blog' %>
<%= t 'layouts.shop' %>
<%= yield :left_menu %>