Sha256: 4ee85d2e7bd8edfcc3c6530c848b21c23a10f49dcdcb2c4864fc04e66fa3cfd6

Contents?: true

Size: 580 Bytes

Versions: 103

Compression:

Stored size: 580 Bytes

Contents

<div data-controller="tippy">
  <%= link_to t('avo.view').humanize, 'javascript:void(0);', data: { 'tippy-target': 'source' } %>
  <div class="hidden" data-tippy-target="content">
    <div class="p-2 space-y-2">
      <%
        @options.each do |id, label|
          checked = @value.present? && @value[id.to_s].present?
      %>
        <div class="flex flex-nowrap">
          <%= render Avo::Fields::Common::BooleanCheckComponent.new checked: checked %>
          <div class="ml-px text-left py-px"><%= label %></div>
        </div>
      <% end %>
    </div>
  </div>
</div>

Version data entries

103 entries across 103 versions & 1 rubygems

Version Path
avo-3.0.1.beta7 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.1.beta5 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.1.beta2 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.1.beta4 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.1.beta3 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.beta1 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.1.beta1 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre17 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre18 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre14 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre16 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre15 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre13 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre12 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre10 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre11 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre8 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre9 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre7 app/components/avo/fields/common/boolean_group_component.html.erb
avo-3.0.0.pre5 app/components/avo/fields/common/boolean_group_component.html.erb