X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/1a49f8eff109f773c79fce48f9ed69ffdd0c10fc..4b20afd51e640d67a32b241349be9d2f7eac64b0:/app/views/layouts/site.html.erb
diff --git a/app/views/layouts/site.html.erb b/app/views/layouts/site.html.erb
index 4ee763d43..d04a2877f 100644
--- a/app/views/layouts/site.html.erb
+++ b/app/views/layouts/site.html.erb
@@ -1,34 +1,9 @@
-
-
- <% if flash[:error] %>
-
<%= flash[:error] %>
- <% end %>
- <% if flash[:warning] %>
-
<%= flash[:warning] %>
- <% end %>
- <% if flash[:notice] %>
-
<%= flash[:notice] %>
- <% end %>
+ <%= render :partial => "layouts/flash", :locals => { :flash => flash } %>
<%= yield %>
@@ -62,7 +37,7 @@
diaryclass = 'active' if params['controller'] == 'diary_entry'
%>
+ <%= link_to image_tag("sotm.png", :alt => t('layouts.sotm2011'), :title => t('layouts.sotm2011'), :border => "0"), "http://stateofthemap.org/register-now/" %>
+
+
<%= yield :optionals %>