]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.rhtml
API 0.4 Updates - work on traces pages + pagination, edit tab, some API testing
[rails.git] / app / views / layouts / site.rhtml
index 75bac67ab97901e38545e862999f404229ca56e5..a0034a5efd7da7b09cdf3c31bec01ca0ebd13b07 100644 (file)
   <body>
 
     <div id="content">
-<% if @flash[:notice] %>
-  <div id="notice"><%= @flash[:notice] %></div>
+<% if flash[:notice] %>
+  <div id="notice"><%= flash[:notice] %></div>
 <% end %>
 
-    <%= @content_for_layout %>
+    <%= yield %>
 
   </div>
 
@@ -81,6 +81,8 @@
 
         </div>
 
+        <%= yield :optionals %>
+
         <div id="cclogo">
           <center>