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_devise_token_auth-2.8.0.alpha.7 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.6 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.5 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.4 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.3 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend_devise_token_auth-2.8.0.alpha.2 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.7.0 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.6.1 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.6.0 app/views/spree/admin/users/_user_page_actions.html.erb
solidus_backend-2.6.0.rc1 app/views/spree/admin/users/_user_page_actions.html.erb