% content_for :nav do %> <%= link_to 'Cancel', @user %> <% end %>
Name: | <%=f.text_field :name, {readonly: "true"}%> |
Email: | <%=f.text_field :email, {readonly: "true"}%> |
<%= f.label :password %>: | <%= f.password_field :password %> |
<%= f.label :password_confirmation %>: | <%= f.password_field :password_confirmation %> |
<%= f.submit "Update Password"%> |