<title><%= @page_title || "Selectricity" %></title>
<%= stylesheet_link_tag "common", :media => "all" %>
<%= stylesheet_link_tag "main", :media => "all" %>
+ <%= stylesheet_link_tag *(@stylesheets) %>
+ <%= stylesheet_link_tag "ie6hacks", :media => "all" if \
+ request.user_agent =~ /msie\s(5\.[5-9]|[6]\.[0-9]*).*(win)/i %>
<%= 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>
</div> <!-- end of top-bar -->
<div id="main-box">
- <% if flash[:notice]%>
- <div id="notice"><%= flash[:notice] %></div>
- <% end%>
<%= @content_for_layout %>
</div>