Skip to content

Commit

Permalink
Removed extra divs, changed slash to pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
nrevko committed Apr 23, 2012
1 parent 3b70274 commit 3cbe393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions app/views/devise/menu/_login_items.html.erb
@@ -1,9 +1,5 @@
<% if user_signed_in? %>
<div id = "update_skills" class="action"><%= link_to 'Add Your Skills',edit_user_registration_path %></div>
<div class="action"> / </div>
<div id = "sign_out" class="action"><%= link_to('Sign Out', destroy_user_session_path, :method => :delete) %></div>
<%= link_to 'Add Your Skills',edit_user_registration_path %> | <%= link_to('Sign Out', destroy_user_session_path, :method => :delete) %>
<% else %>
<div id = "sign_in" class="action"><%= link_to('Sign In', new_user_session_path) %></div>
<div class="action"> / </div>
<div id = "sign_up" class="action"><%= link_to('Sign Up', new_user_registration_path) %></div>
<%= link_to('Sign In', new_user_session_path) %> | <%= link_to('Sign Up', new_user_registration_path) %>
<% end %>
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Expand Up @@ -7,7 +7,7 @@
<%= csrf_meta_tags %>
</head>
<body>
<div>
<div class='actions'>
<%= render :partial => 'devise/menu/login_items' %>
</div>
<hr/>
Expand Down

0 comments on commit 3cbe393

Please sign in to comment.