Sha256: 7ad0ff1606f177a40eed9a52d9f3d43e1428096cb529a077bd73dc9f00524b2e

Contents?: true

Size: 1.09 KB

Versions: 4

Compression:

Stored size: 1.09 KB

Contents

<% content_for :page_title do %>
  <%= link_to "#{@user.email}", edit_admin_user_url(@user) %> / <%= Spree.t(:editing_resource, resource: plural_resource_name(Spree::Address)) %>
<% end %>

<%= render :partial => 'spree/admin/users/sidebar', :locals => { :current => :address } %>
<%= render :partial => 'spree/admin/users/user_page_actions' %>

<div data-hook="admin_user_addresses" id="admin_user_edit_addresses">
  <div data-hook="admin_user_edit_form_header">
    <%= render :partial => 'spree/admin/shared/error_messages', :locals => { :target => @user } %>
  </div>

  <div data-hook="admin_user_address_edit_form">
    <%= form_for [:admin, @user], as: :user, url: addresses_admin_user_url(@user), method: :put do |f| %>

      <%= render :partial => 'addresses_form', :locals => { :f => f } %>

      <div class="form-actions text-center well" data-hook="admin_user_edit_form_button">
        <%= render :partial => 'spree/admin/shared/edit_resource_links', :locals => { :collection_url => spree.admin_users_url } %>
      </div>
    <% end %>
  </div>
</div>

<%= render 'spree/admin/users/lifetime_stats' %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_backend-3.0.1 app/views/spree/admin/users/addresses.html.erb
spree_backend-3.0.0 app/views/spree/admin/users/addresses.html.erb
spree_backend-3.0.0.rc4 app/views/spree/admin/users/addresses.html.erb
spree_backend-3.0.0.rc3 app/views/spree/admin/users/addresses.html.erb