",
- :controller => 'site', :action => 'index' %>
+ <%= link_to "
+ <% if flash[:notice]%>
+
<%= flash[:notice] %>
+ <% end%>
+
<%= @sidebar_content %>
<% if session[:user] %>
- <%= link_to User.find(session[:user]).login.capitalize,
+ <%= link_to User.find(session[:user]).login.downcase,
:controller => "account",
:action => "summary", :id => session[:user][:id] %>
<%= link_to "logout", :controller => "account",
:action => "logout" %>
<% else %>
- <%= link_to("login", :controller => "account", :action => "login")
- %>/<%= link_to("sign up", :controller => "account", :action => "signup")%>
+ <%= link_to "login", :controller => "account", :action => "login"
+ %>/<%= link_to "sign up", :controller => "account", :action => "signup" %>
<% end %>
- <%= link_to("help/about", :controller => "site", :action => "about") %>
+ <%= link_to "help/about", :controller => 'about' %>
- <% if flash[:notice]%>
-
<%= flash[:notice] %>
- <% end%>
<%= @content_for_layout %>