Sha256: 37c9696b92367c189e9cdc950b6840c3cd39188556ebecaebbab5b68f77374ba

Contents?: true

Size: 1.19 KB

Versions: 4

Compression:

Stored size: 1.19 KB

Contents

<% admin_breadcrumb(link_to plural_resource_name(Spree::LegacyUser), spree.admin_users_path) %>
<% admin_breadcrumb(link_to @user.email, edit_admin_user_url(@user)) %>
<% admin_breadcrumb(plural_resource_name(Spree::Address)) %>


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

<fieldset data-hook="admin_user_addresses" id="admin_user_edit_addresses" class="col-xs-12">
  <legend><%= plural_resource_name(Spree::Address) %></legend>

  <div data-hook="admin_user_edit_form_header">
    <%= render :partial => 'spree/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 } %>

      <% if can?(:update, @user) %>
        <div data-hook="admin_user_edit_form_button">
          <%= render :partial => 'spree/admin/shared/edit_resource_links', :locals => { :collection_url => admin_users_url } %>
        </div>
      <% end %>
    <% end %>
  </div>
</fieldset>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/views/spree/admin/users/addresses.html.erb
solidus_backend-2.1.0 app/views/spree/admin/users/addresses.html.erb
solidus_backend-2.1.0.rc1 app/views/spree/admin/users/addresses.html.erb
solidus_backend-2.1.0.beta1 app/views/spree/admin/users/addresses.html.erb