Sha256: ebae70d14075b1027d6dabbcfdf2e50639d38d128e564ee7c2fcf697107ab6c1

Contents?: true

Size: 227 Bytes

Versions: 11

Compression:

Stored size: 227 Bytes

Contents

<% content_for :page_actions do %>
  <% if can?([:admin, :create], Spree::Order) %>
    <li>
      <%= button_link_to Spree.t(:create_new_order), spree.new_admin_order_path(user_id: @user.id) %>
    </li>
  <% end %>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
solidus_backend-2.0.3 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-1.4.2 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.0.2 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-1.4.1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.0.1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.0.0 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-1.4.0 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.0.0.rc1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-1.4.0.rc1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.0.0.beta1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-1.4.0.beta1 app/views/spree/admin/users/_user_page_actions.html.erb