Sha256: 73cedffe5c4c86f84c9987a0ed95b7e099bb9fe19d72f1df1292104011d31e18

Contents?: true

Size: 560 Bytes

Versions: 17

Compression:

Stored size: 560 Bytes

Contents

<%= field_wrapper **field_wrapper_args, dash_if_blank: false do %>
  <div class="h-8 flex items-center">
    <%= @form.check_box @field.id,
      value: @field.value,
      checked: @field.value,
      class: "text-lg h-4 w-4 checked:bg-primary-400 focus:checked:!bg-primary-400 rounded #{@field.get_html(:classes, view: view, element: :input)}",
      data: @field.get_html(:data, view: view, element: :input),
      disabled: disabled?,
      autofocus: @autofocus,
      style: @field.get_html(:style, view: view, element: :input)
    %>
  </div>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
avo-3.10.7 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.10.6 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.10.5 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.10.4 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.10.3 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.10.2 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.10.1 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.10.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.9.2 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.9.1 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.8.2 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.9.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.8.1 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.8.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.6.4 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.6.3 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.6.2 app/components/avo/fields/boolean_field/edit_component.html.erb