Sha256: 271a499a7406570568bb5a3538c95fdf9365c3c62992de42bb21aedc44f420a2

Contents?: true

Size: 742 Bytes

Versions: 60

Compression:

Stored size: 742 Bytes

Contents

<div class="flex flex-wrap gap-2 p-2 <%= white_panel_classes %>" data-tabs-target="tabSwitcher">
  <% group.visible_items.each do |tab| %>
    <%= a_link tab_path(tab),
      color: current_one?(tab) ? :primary : :gray,
      style: current_one?(tab) ? :outline : :text,
      size: :sm,
      class: current_one?(tab) ? "z-20 bg-primary-100" : "",
      title: tab.description,
      data: {
        tippy: tab.description.present? ? 'tooltip' : '',
        selected: current_one?(tab),
        action: 'click->tabs#changeTab',
        tabs_tab_name_param: tab.name,
        tabs_group_id_param: group.to_param,
        tabs_resource_name_param: resource.underscore_name,
      } do %>
      <%= tab.name %>
    <% end %>
  <% end %>
</div>

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
avo-3.11.7 app/components/avo/tab_switcher_component.html.erb
avo-3.11.6 app/components/avo/tab_switcher_component.html.erb
avo-3.11.5 app/components/avo/tab_switcher_component.html.erb
avo-3.11.4 app/components/avo/tab_switcher_component.html.erb
avo-3.11.3 app/components/avo/tab_switcher_component.html.erb
avo-3.11.2 app/components/avo/tab_switcher_component.html.erb
avo-3.11.1 app/components/avo/tab_switcher_component.html.erb
avo-3.11.0 app/components/avo/tab_switcher_component.html.erb
avo-3.10.10 app/components/avo/tab_switcher_component.html.erb
avo-3.10.9 app/components/avo/tab_switcher_component.html.erb
avo-3.10.8 app/components/avo/tab_switcher_component.html.erb
avo-3.10.7 app/components/avo/tab_switcher_component.html.erb
avo-3.10.6 app/components/avo/tab_switcher_component.html.erb
avo-3.10.5 app/components/avo/tab_switcher_component.html.erb
avo-3.10.4 app/components/avo/tab_switcher_component.html.erb
avo-3.10.3 app/components/avo/tab_switcher_component.html.erb
avo-3.10.2 app/components/avo/tab_switcher_component.html.erb
avo-3.10.1 app/components/avo/tab_switcher_component.html.erb
avo-3.10.0 app/components/avo/tab_switcher_component.html.erb
avo-3.9.2 app/components/avo/tab_switcher_component.html.erb