Sha256: 3d4b85ae584ce5027d8e59677ae16fed7de87eb121b1cbef7902fd083a4deb58

Contents?: true

Size: 1.1 KB

Versions: 27

Compression:

Stored size: 1.1 KB

Contents

<% 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 => :address } %>
<%= render :partial => 'spree/admin/users/user_page_actions' %>

<fieldset data-hook="admin_user_addresses" id="admin_user_edit_addresses" class="alpha twelve columns">
  <legend><%= Spree.t('addresses', :scope => 'admin.user') %></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

27 entries across 27 versions & 1 rubygems

Version Path
solidus_backend-1.2.3 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.1.4 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.0.7 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.0.6 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.2.2 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.2.1 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.1.3 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.0.5 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.2.0 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.2.0.rc2 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.0.4 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.1.2 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.2.0.rc1 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.2.0.beta1 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.0.3 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.1.1 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.1.0 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.1.0.pre2 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.1.0.pre1 app/views/spree/admin/users/addresses.html.erb
solidus_backend-1.1.0.beta1 app/views/spree/admin/users/addresses.html.erb