Sha256: 1653611749a6cc976afd6b3ea60c29b12c72d61ec3ff7f5371e68b03d3ff3b5a

Contents?: true

Size: 525 Bytes

Versions: 3

Compression:

Stored size: 525 Bytes

Contents

<%= index_field_wrapper(**field_wrapper_args, dash_if_blank: false, class: 'whitespace-no-wrap w-[1%]', flush: true, center_content: true) do %>
  <%= link_to resource_view_path,
    title: t('avo.view_item', item: @resource.name).humanize,
    data: {
      controller: "preview",
      preview_url_value: helpers.preview_resource_path(resource: @resource,  turbo_frame: :preview_modal),
    } do %>
    <%= helpers.svg("heroicons/outline/magnifying-glass-circle", class: "block h-6 text-gray-600") %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
avo-3.16.4 app/components/avo/fields/preview_field/index_component.html.erb
avo-3.16.3 app/components/avo/fields/preview_field/index_component.html.erb
avo-3.16.2 app/components/avo/fields/preview_field/index_component.html.erb