X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/509b8ec62adac85558c32ed51cbc11ec4b93d8c7..c2854a8056a19219d4ecd4e29099f2ef6224f2d0:/app/views/layouts/site.rhtml diff --git a/app/views/layouts/site.rhtml b/app/views/layouts/site.rhtml index 4b41e5e9e..7aa2db7b9 100644 --- a/app/views/layouts/site.rhtml +++ b/app/views/layouts/site.rhtml @@ -11,8 +11,8 @@
- <% if flash[:notice] %> -
<%= flash[:notice] %>
+ <% if @notice || flash[:notice] %> +
<%= @notice || flash[:notice] %>
<% end %> <%= yield %>