Sha256: e71d170f8bf7eaf2b2aad2c2973c9e2ca126cad1b3d5f2c92422a5dfdd7da08d

Contents?: true

Size: 523 Bytes

Versions: 23

Compression:

Stored size: 523 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 #{@field.get_html(:classes, view: view, element: :input)}",
      data: @field.get_html(:data, view: view, element: :input),
      disabled: disabled?,
      style: @field.get_html(:style, view: view, element: :input)
    %>
  </div>
<% end %>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
avo-2.53.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.52.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.49.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.48.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.47.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.46.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.45.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.44.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.43.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.42.2 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.42.1 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.42.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.41.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.40.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.39.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.38.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.37.2 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.37.1 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.37.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-2.36.3 app/components/avo/fields/boolean_field/edit_component.html.erb