X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2fad5f7c92055755e0a662ed22943b7d3f92e909..c8f9387420233bd7e845cb205c3b68ede1f90024:/app/views/layouts/user.rhtml diff --git a/app/views/layouts/user.rhtml b/app/views/layouts/user.rhtml index dc90025bb..cee649145 100644 --- a/app/views/layouts/user.rhtml +++ b/app/views/layouts/user.rhtml @@ -11,6 +11,10 @@
+<% if @flash[:notice] %> +
<%= @flash[:notice] %>
+<% end %> + <%= @content_for_layout %>
@@ -18,8 +22,8 @@ - <%= 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'} %>