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.4.4 app/components/avo/tab_switcher_component.html.erb
avo-3.4.3 app/components/avo/tab_switcher_component.html.erb
avo-3.4.2 app/components/avo/tab_switcher_component.html.erb
avo-3.4.1 app/components/avo/tab_switcher_component.html.erb
avo-3.4.0 app/components/avo/tab_switcher_component.html.erb
avo-3.3.6 app/components/avo/tab_switcher_component.html.erb
avo-3.3.5 app/components/avo/tab_switcher_component.html.erb
avo-3.3.4 app/components/avo/tab_switcher_component.html.erb
avo-3.3.3 app/components/avo/tab_switcher_component.html.erb
avo-3.3.2 app/components/avo/tab_switcher_component.html.erb
avo-3.3.1 app/components/avo/tab_switcher_component.html.erb
avo-3.3.0 app/components/avo/tab_switcher_component.html.erb
avo-3.2.3 app/components/avo/tab_switcher_component.html.erb
avo-3.2.2 app/components/avo/tab_switcher_component.html.erb
avo-3.2.1 app/components/avo/tab_switcher_component.html.erb
avo-3.2.0 app/components/avo/tab_switcher_component.html.erb
avo-3.1.7 app/components/avo/tab_switcher_component.html.erb
avo-3.1.6 app/components/avo/tab_switcher_component.html.erb
avo-3.1.5 app/components/avo/tab_switcher_component.html.erb
avo-3.1.4 app/components/avo/tab_switcher_component.html.erb