Sha256: 496ce05a66c5a9c17806f243de8c1d8d6b6c3ef332cbf13deb28ad0f77ef91c3

Contents?: true

Size: 826 Bytes

Versions: 2

Compression:

Stored size: 826 Bytes

Contents

<div class="flex items-center border border-gray-300 rounded-md bg-white p-1 relative shadow-sm" data-controller="parent-pages">
  <% if resources.many? %>
    <%= helpers.heroicon("collection", style: :solid, class: 'w-5 h-5 ml-2 text-gray-400 absolute') %>
    
    <%= f.select :resource_id, resources, {}, class: "form-select hover:bg-gray-100 bg-none shadow-none w-auto bg-transparent border-none focus:ring-0 cursor-pointer pr-2 pl-8 flex-none truncate", data: {controller: "select-placeholder", action: "select-placeholder#update parent-pages#update"} %>
  
    <%= helpers.heroicon('chevron-right', style: :solid, class: 'w-5 h-5 text-gray-600 flex-none') %>
  <% end %>
  
  <%= helpers.turbo_frame_tag "parent_pages", src: default_parent_pages_path, class: 'flex-auto', data: {parent_pages_target: "frame"} %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spina-2.18.0 app/components/spina/pages/location_component.html.erb
spina-2.17.0 app/components/spina/pages/location_component.html.erb