Sha256: 11c38797b1a8e1f352fd0feafb2881c6985c9eb09075d9e2250dcaef7a236f16

Contents?: true

Size: 238 Bytes

Versions: 90

Compression:

Stored size: 238 Bytes

Contents

<% content_for :page_actions do %>
  <% if can?([:admin, :create], Spree::Order) %>
    <li>
      <%= link_to t(".create_order"), spree.new_admin_order_path(user_id: @user.id), class: 'btn btn-primary' %>
    </li>
  <% end %>
<% end %>

Version data entries

90 entries across 90 versions & 2 rubygems

Version Path
solidus_backend-2.11.3 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.2 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.10.3 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.0 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.10.2 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.9.6 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.8.6 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.10.1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.9.5 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.10.0 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.9.4 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.6.6 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.7.4 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.8.5 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.9.3 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.9.2 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.10.0.beta1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.7.3 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.6.5 app/views/spree/admin/users/_user_page_actions.html.erb