<% admin_breadcrumb(link_to plural_resource_name(Spree::LegacyUser), spree.admin_users_path) %> <% admin_breadcrumb(@user.email) %> <%= render 'spree/admin/users/sidebar' %> <%= render 'spree/admin/users/tabs', current: :account %> <%= render partial: 'spree/admin/users/user_page_actions' %>
<%= Spree.user_class.model_name.human %>
<%= render partial: 'spree/shared/error_messages', locals: { target: @user } %>
<%= form_for [:admin, @user], as: :user, url: admin_user_url(@user), method: :put do |f| %> <%= render partial: 'form', locals: { f: f } %> <% if can?(:update, @user) %>
<%= render partial: 'spree/admin/shared/edit_resource_links', locals: { collection_url: admin_users_url } %>
<% end %> <% end %>