Sha256: 74fe475cfa9934c354adfa06a6804ea03b0ff0b38f2f28bd4f3b93bf810a98b3

Contents?: true

Size: 368 Bytes

Versions: 31

Compression:

Stored size: 368 Bytes

Contents

<%= render Avo::CommonFieldWrapperComponent.new(field: @field, dash_if_blank: @dash_if_blank, full_width: @full_width) do %>
  <div class="self-center <% if @full_width %> w-full <% else %> w-full md:w-8/12 <% end %>" data-slot="value">
    <% if @field.value.blank? and @dash_if_blank %>
      —
    <% else %>
      <%= content %>
    <% end %>
  </div>
<% end %>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
avo-2.7.1.pre.1 app/components/avo/show/field_wrapper_component.html.erb
avo-2.7.0 app/components/avo/show/field_wrapper_component.html.erb
avo-2.6.1.pre.2 app/components/avo/show/field_wrapper_component.html.erb
avo-2.6.1.pre.1 app/components/avo/show/field_wrapper_component.html.erb
avo-2.6.0 app/components/avo/show/field_wrapper_component.html.erb
avo-2.5.2.pre.7 app/components/avo/show/field_wrapper_component.html.erb
avo-2.5.2.pre.6 app/components/avo/show/field_wrapper_component.html.erb
avo-2.5.2.pre.5 app/components/avo/show/field_wrapper_component.html.erb
avo-2.5.2.pre.4 app/components/avo/show/field_wrapper_component.html.erb
avo-2.5.2.pre.3 app/components/avo/show/field_wrapper_component.html.erb
avo-2.5.2.pre.2 app/components/avo/show/field_wrapper_component.html.erb
avo-2.5.2.pre.1 app/components/avo/show/field_wrapper_component.html.erb
avo-2.5.1 app/components/avo/show/field_wrapper_component.html.erb
avo-2.5.0 app/components/avo/show/field_wrapper_component.html.erb
avo-2.4.1 app/components/avo/show/field_wrapper_component.html.erb
avo-2.4.0 app/components/avo/show/field_wrapper_component.html.erb
avo-2.3.1.pre.6 app/components/avo/show/field_wrapper_component.html.erb
avo-2.3.1.pre.5 app/components/avo/show/field_wrapper_component.html.erb
avo-2.3.1.pre.4 app/components/avo/show/field_wrapper_component.html.erb
avo-2.3.1.pre.3 app/components/avo/show/field_wrapper_component.html.erb