Sha256: 50cf97926d55ff99afef6fe9bd01d7070e94f5b0c72719a225ba4eb27089bea5
Contents?: true
Size: 765 Bytes
Versions: 29
Compression:
Stored size: 765 Bytes
Contents
<div class="flex"> <div class="button-group"> <% tabs.each do |tab| %> <% is_active_view = tab.name.to_s == active_tab_name.to_s %> <%= a_link resource_path(resource: @resource, model: @resource.model, keep_query_params: true, active_tab_name: tab.name, tab_turbo_frame: group.turbo_frame_id), color: is_active_view ? :gray : :primary, rounded: false, size: :sm, class: is_active_view ? ' bg-gray-100 border-gray-300' : ' z-20', title: tab.description || tab.name, data: { tippy: 'tooltip', 'turbo-frame': group.turbo_frame_id, control: "view-type-toggle-#{tab}" } do %> <%= tab.name %> <% end %> <% end %> </div> </div>
Version data entries
29 entries across 29 versions & 1 rubygems