<body>
<div id="content">
+<% if @flash[:notice] %>
+ <div id="notice"><%= @flash[:notice] %></div>
+<% end %>
+
<%= @content_for_layout %>
</div>
<span id="greeting">
- <%= link_to 'Login', :controller => 'user', :action => 'login' %> /
- <%= link_to 'Sign up', :controller => 'user', :action => 'new' %>
+ <%= link_to 'Login', {:controller => 'user', :action => 'login'}, {:id => 'loginanchor'}%> /
+ <%= link_to 'Sign up', {:controller => 'user', :action => 'new'}, {:id => 'registeranchor'} %>
</span>
<div>