Sha256: fb6f35830e313aa2428bdbaa8ee43f96580e1f31418f6fbd28958e44b100a569

Contents?: true

Size: 538 Bytes

Versions: 31

Compression:

Stored size: 538 Bytes

Contents

<%= field_wrapper **field_wrapper_args 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

31 entries across 31 versions & 1 rubygems

Version Path
avo-3.15.1 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.15.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.14.5 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.14.4 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.14.3 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.14.2 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.14.1 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.14.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.13.7 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.13.6 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.13.5 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.13.4 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.13.3 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.13.2 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.13.1 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.13.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.12.0 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.11.10 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.11.9 app/components/avo/fields/boolean_field/edit_component.html.erb
avo-3.11.8 app/components/avo/fields/boolean_field/edit_component.html.erb