]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/user.rhtml
more rails updates
[rails.git] / app / views / layouts / user.rhtml
index dc90025bb8bc0c06a1af081eb24da013aa02c3da..cee649145e812541f837d28b8804f30d6442a982 100644 (file)
   <body>
 
     <div id="content">
+<% if @flash[:notice] %>
+  <div id="notice"><%= @flash[:notice] %></div>
+<% end %>
+
     <%= @content_for_layout %>
 
   </div>
@@ -18,8 +22,8 @@
 
 
   <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>