<% content_for :section_title, "Edit: #{@user.name}" %> <%= render partial: 'shared/form_model_errors', locals: {obj: @user} %> <%= form_for @user, url: admin_profile_url, method: :post do |form| %>
<%= form.label :name, "Full Name" %> <%= form.text_field :name %>
<%= form.label :email, "eMail" %> <%= form.email_field :email %>
<%= form.label :password, "New Password" %> <%= form.password_field :password %>
<%= form.label :password_confirmation, "New Password Confirmation" %> <%= form.password_field :password_confirmation %>
<%= form.submit %> <% end %>