2016-08-24 12:53:21 -05:00
|
|
|
<%
|
|
|
|
content_for :section_title, "Edit: #{@user.name}"
|
2016-11-22 16:59:54 -06:00
|
|
|
content_for :title, "Profile - Skills Assessment Admin"
|
2016-08-24 12:53:21 -05:00
|
|
|
%>
|
|
|
|
|
2017-05-01 16:17:41 -05:00
|
|
|
<h1>Edit Profile</h1>
|
|
|
|
|
2016-08-24 12:53:21 -05:00
|
|
|
<%= render partial: 'shared/form_model_errors', locals: {obj: @user} %>
|
2017-03-20 10:57:50 -05:00
|
|
|
|
2016-08-24 12:53:21 -05:00
|
|
|
<%= form_for @user, url: admin_profile_url, method: :post do |form| %>
|
2017-03-20 10:57:50 -05:00
|
|
|
<div>
|
2016-08-24 12:53:21 -05:00
|
|
|
<%= form.label :name, "Full Name" %>
|
|
|
|
<%= form.text_field :name %>
|
|
|
|
</div>
|
|
|
|
|
2017-03-20 10:57:50 -05:00
|
|
|
<div>
|
2016-08-24 12:53:21 -05:00
|
|
|
<%= form.label :email, "eMail" %>
|
|
|
|
<%= form.email_field :email %>
|
|
|
|
</div>
|
|
|
|
|
2017-03-20 10:57:50 -05:00
|
|
|
<div>
|
2016-08-24 12:53:21 -05:00
|
|
|
<%= form.label :password, "New Password" %>
|
|
|
|
<%= form.password_field :password %>
|
|
|
|
</div>
|
|
|
|
|
2017-03-20 10:57:50 -05:00
|
|
|
<div>
|
2016-08-24 12:53:21 -05:00
|
|
|
<%= form.label :password_confirmation, "New Password Confirmation" %>
|
|
|
|
<%= form.password_field :password_confirmation %>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<%= form.submit %>
|
|
|
|
<% end %>
|