Browse Source

reset password formatting

pull/1/head
Nicolae Claudius 11 years ago
parent
commit
249aa00d36
  1. 6
      app/views/users/passwords/edit.html.erb
  2. 3
      app/views/users/shared/_links.erb

6
app/views/users/passwords/edit.html.erb

@ -1,6 +1,4 @@
<div class="page-header">
<h1>Change your password</h1>
</div>
<%= render :partial => "users/shared/links" %>
<%= simple_form_for(resource,
as: resource_name,
@ -16,5 +14,3 @@
<%= f.submit "Change my password", class: 'btn btn-primary' %>
<% end %>
<%= render :partial => "users/shared/links" %>

3
app/views/users/shared/_links.erb

@ -2,7 +2,8 @@
<% semantic_navigation :devise_nav, html: { class: 'nav nav-tabs' } do |n| %>
<%= n.item "Sign in", link: new_session_path(resource_name) %>
<%= n.item "Sign up", link: new_registration_path(resource_name) %>
<%= n.item "Forgot your password?", link: new_password_path(resource_name) %>
<%= n.item "Forgot your password?", link: new_password_path(resource_name),
highlights_on: [{ controller: 'devise/passwords' }] %>
<%= n.item "Didn't receive confirmation instructions?", link: new_confirmation_path(resource_name) %>
<%= n.item "Didn't receive unlock instructions?", link: new_unlock_path(resource_name) %>
<% end %>

Loading…
Cancel
Save