Sha256: 8a2874ada10958f3bc5273ccaaf058b4cc0cf9d1f4d9b56fa0e93cdde41b0093

Contents?: true

Size: 1.09 KB

Versions: 1

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: Spree::Address.model_name.human(count: :many)) %>
<% 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 => admin_users_url } %>
      </div>
    <% end %>
  </div>
</div>

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_backend-3.0.0.rc1 app/views/spree/admin/users/addresses.html.erb