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-3.2.4 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.2.3 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.1.8 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.0.8 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.2.2 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.2.1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.2.0 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.2.0.alpha app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.0.7 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.17 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.1.7 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.16 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.0.6 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.1.6 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.15 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.14 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.0.5 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.1.5 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.13 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.0.4 app/views/spree/admin/users/_user_page_actions.html.erb