X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/873fe81f711338cbe25da1888192091b7a2cc497..7d7416894a3a0605c0399e84153a320aabfa48d7:/app/views/layouts/slim.html.erb diff --git a/app/views/layouts/slim.html.erb b/app/views/layouts/slim.html.erb index e738f4c92..a97e526b1 100644 --- a/app/views/layouts/slim.html.erb +++ b/app/views/layouts/slim.html.erb @@ -18,27 +18,29 @@ <%= yield :head %> <%= t 'layouts.project_name.title' %><%= ' | '+ h(@title) if @title %> - + +
+
+
+ <% if flash[:error] %> +
<%= flash[:error] %>
+ <% end %> + <% if flash[:warning] %> +
<%= flash[:warning] %>
+ <% end %> + <% if flash[:notice] %> +
<%= flash[:notice] %>
+ <% end %> -
- <% if flash[:error] %> -
<%= flash[:error] %>
- <% end %> - <% if flash[:warning] %> -
<%= flash[:warning] %>
- <% end %> - <% if flash[:notice] %> -
<%= flash[:notice] %>
- <% end %> + <%= yield %> +
- <%= yield %> +
+

<%= image_tag("osm_logo.png", :size => "60x60", :border => 0, :alt => t('layouts.logo.alt_text')) %><%= t 'layouts.project_name.h1' %>

+
+
-
-

<%= image_tag("osm_logo.png", :size => "60x60", :border => 0, :alt => t('layouts.logo.alt_text')) %><%= t 'layouts.project_name.h1' %>

-
- -