]> projects.mako.cc - selectricity/blobdiff - app/views/layouts/main.rhtml
Fix testcases and also fix errors the testcase brought up
[selectricity] / app / views / layouts / main.rhtml
index a1c9173851c7cb7bb797a891111ce6bdf97ec40e..5ae18dc81a11db933e7b20df5b9627d299075ad6 100644 (file)
@@ -4,6 +4,7 @@
     <title><%= @page_title || "Selectricity" %></title>
     <%= stylesheet_link_tag "common", :media => "all" %>
     <%= stylesheet_link_tag "main", :media => "all" %>
+    <%= stylesheet_link_tag *(@stylesheets) %>
     <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
   </head>
 
                   :controller => 'site', :action => 'index' %>
 
       <div id="left-side-content">
+        <% if flash[:notice]%>
+        <div id="notice"><%= flash[:notice] %></div>
+        <% end%>
+
         <%= @sidebar_content %>
       </div>
 
@@ -41,9 +46,6 @@
       </div> <!-- end of top-bar -->
       
       <div id="main-box">
-        <% if flash[:notice]%>
-        <div id="notice"><%= flash[:notice] %></div>
-        <% end%>
         <%= @content_for_layout %>
       </div>
 

Benjamin Mako Hill || Want to submit a patch?