%#
# @file
# /users/:id/edit
# User edit form
#%>
<% content_for :title, @user.name + "'s Settings | Metamaps" %>
<%= form_for @user, url: user_url, :html =>{ :class => "edit_user centerGreyForm"} do |form| %>
Edit Account
<%= image_tag @user.image.url(:round), :size => "84x84" %>
<%= form.label :name, "Name:", :class => "firstFieldText" %>
<%= form.email_field :name %>
<%= form.label :email, "Email:", :class => "firstFieldText" %>
<%= form.email_field :email %>
Change Password
<%= form.label :current_password, "Current Password:", :class => "firstFieldText" %>
<%= password_field_tag :current_password, params[:current_password] %>
<%= form.label :password, "New Password:", :class => "firstFieldText" %>
<%= form.password_field :password, :autocomplete => :off%>
<%= form.label :password_confirmation, "Confirm New Password:", :class => "firstFieldText" %>
<%= form.password_field :password_confirmation, :autocomplete => :off%>
Oops, don't change password
<%= form.submit "Update", class: "update" %>
<% end %>