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.1.4 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.12 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.0.3 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.1.3 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.1.2 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.1.1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.1.0 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.11 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.0.2 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.10.5 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.10 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.0.1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.0.0 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.9 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.8 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.7 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.6 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-3.0.0.rc2 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.5 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.11.4 app/views/spree/admin/users/_user_page_actions.html.erb