Major integration of Courtland's design into the QuickVotes.
[selectricity-live] / 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" %>
     <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>
 
     <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
   </head>
 
                   :controller => 'site', :action => 'index' %>
 
       <div id="left-side-content">
                   :controller => 'site', :action => 'index' %>
 
       <div id="left-side-content">
+        <% if flash[:notice]%>
+        <div id="notice"><%= flash[:notice] %></div>
+        <% end%>
+
         <%= @sidebar_content %>
       </div>
 
         <%= @sidebar_content %>
       </div>
 
@@ -41,9 +46,6 @@
       </div> <!-- end of top-bar -->
       
       <div id="main-box">
       </div> <!-- end of top-bar -->
       
       <div id="main-box">
-        <% if flash[:notice]%>
-        <div id="notice"><%= flash[:notice] %></div>
-        <% end%>
         <%= @content_for_layout %>
       </div>
 
         <%= @content_for_layout %>
       </div>
 

Benjamin Mako Hill || Want to submit a patch?