% content_for :page_title do %>
<%= link_to "#{Spree.t(:editing_user)} #{@user.email}", edit_admin_user_url(@user) %>
<% end %>
<%= render :partial => 'spree/admin/users/sidebar', :locals => { :current => :store_credits } %>
<% content_for :page_actions do %>
<%= link_to_with_icon 'arrow-left', Spree.t("admin.store_credits.back_to_edit"), admin_user_store_credit_path(@user, @store_credit), class: 'button' %>
<% end %>
<%= form_for [:admin, @user, @store_credit], url: invalidate_admin_user_store_credit_path, method: :put do |f| %>
<% end %>