Sha256: dcfc724ac2372548786df028a07ab5f5cef7595413f4903ef3a53a847bcd9c50

Contents?: true

Size: 1 KB

Versions: 81

Compression:

Stored size: 1 KB

Contents

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

<% content_for :page_title do %>
  <%= link_to @user.email, spree.edit_admin_user_url(@user) %> /
  <%= Spree.t(:addresses) %>
<% end %>

<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

81 entries across 81 versions & 1 rubygems

Version Path
spree_backend-3.1.0.rc2 app/views/spree/admin/users/addresses.html.erb