Sha256: efecc90234110fad2c00a6442176e62a63004cdf81895ed724597f7a217c44f3
Contents?: true
Size: 1.42 KB
Versions: 3
Compression:
Stored size: 1.42 KB
Contents
<%= page do %> <%= page_header do %> <%= page_header_back(solidus_admin.users_path) %> <%= page_header_title(t(".title", email: @user.email)) %> <%= page_header_actions do %> <%= render component("ui/button").new(tag: :a, text: t(".create_order_for_user"), href: spree.new_admin_order_path(user_id: @user.id)) %> <% end %> <% end %> <%= page_header do %> <% tabs.each do |tab| %> <%= render(component("ui/button").new(tag: :a, scheme: :ghost, text: tab[:text], 'aria-current': tab[:current], href: tab[:href])) %> <% end %> <% end %> <%= page_with_sidebar do %> <%= page_with_sidebar_main do %> <%= render component('ui/panel').new(title: t(".order_history")) do %> <% if @orders.present? %> <%= render component('ui/table').new( id: stimulus_id, data: { class: model_class, rows: rows, fade: -> { row_fade(_1) }, columns: columns, url: -> { row_url(_1) }, }, )%> <% else %> <%= t(".no_orders_found") %> <%= render component("ui/button").new(tag: :a, text: t(".create_one"), href: spree.new_admin_order_path(user_id: @user.id)) %> <% end %> <% end %> <% end %> <%= page_with_sidebar_aside do %> <%= render component("users/stats").new(user: @user) %> <% end %> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems