<%= current_user.admin? ? 'Edit Member' : 'Change Password' %>

<%= form_for([:admin, @user]) do |f| %> <% if @user.errors.any? %>

<%= pluralize(@user.errors.count, "error") %> prohibited this program from being saved:

<% end %> <% if @user.id %> <%= render 'shares' %> <%= render 'fiber_share' %> <% end %> <% else %>
  • <%= f.label :current_password %><%= f.password_field :current_password %>
  • <%= f.label :password, 'New Password' %><%= f.password_field :password %>
  • <%= f.label :password_confirmation, 'Confirm New' %><%= f.password_field :password_confirmation %>
  • <% end %>

    <%= f.submit %>

    <% end %>