Sha256: 9d4f69c616f7d8c8641190bc3b8b025bdecb559de6494bd569ce88bb6b0e2698

Contents?: true

Size: 1001 Bytes

Versions: 3

Compression:

Stored size: 1001 Bytes

Contents

<%= page do %>
  <% if @tabs %>
    <%= page_header do %>
      <%= render_title %>
    <% end %>

    <%= page_header do %>
      <% rendered_tabs = capture do %>
        <% @tabs.each do %>
          <%= render(component("ui/button").new(tag: :a, scheme: :ghost, text: _1.text, 'aria-current': _1.current, href: _1.href)) %>
        <% end %>
      <% end %>
      <%= page_header_title rendered_tabs %>
      <%= page_header_actions do %>
        <%= page_actions %>
      <% end %>
    <% end %>

  <% else %>
    <%= page_header do %>
      <%= render_title %>

      <%= page_header_actions do %>
        <%= page_actions %>
      <% end %>
    <% end %>
  <% end %>

  <%= page_with_sidebar do %>
    <%= page_with_sidebar_main do %>
      <%= render_table %>
    <% end %>

    <% if sidebar %>
      <%= page_with_sidebar_aside do %>
        <%= sidebar %>
      <% end %>
    <% end %>
  <% end %>

  <% turbo_frames.each do |frame| %>
    <%= turbo_frame_tag frame %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/components/solidus_admin/ui/pages/index/component.html.erb
solidus_admin-0.3.1 app/components/solidus_admin/ui/pages/index/component.html.erb
solidus_admin-0.3.0 app/components/solidus_admin/ui/pages/index/component.html.erb