<div data-hook="admin_user_edit_form_header">
  <%= render :partial => 'spree/shared/error_messages', :locals => { :target => @user } %>
  <h1><%= t(:editing_user) %></h1>
</div>

<div data-hook="admin_user_edit_form">
  <%= form_for [:admin, @user] do |f| %>
    <%= render :partial => 'form', :locals => { :f => f } %>

    <div data-hook="admin_user_edit_form_button">
      <%= render :partial => 'spree/admin/shared/edit_resource_links' %>
    </div>
  <% end %>
</div>
