<% if @page_title %>
<%= @page_title %>
<% else %>
<% end %>
<% if session[:user] %>
Welcome <%= User.find(session[:user]).login.capitalize %>
<% else %>
<%= link_to("Login", :controller => "account", :action => "login")
%>/<%= link_to("Sign up", :controller => "account", :action => "signup")%>
<% end %> |
<% if session[:user] %>
<%= link_to("Logout", :controller => "account", :action => "logout") %> |
<% end %>
<%= link_to("Help/About", :controller => "site", :action => "about") %>
<%= link_to( "Home", :controller => 'site', :action => 'index' )%>
<% if flash[:notice]%>