Sha256: f7ecb25281186ee594962d81fc49cc08605fc08d81ca4483f634f8764e2e1e96

Contents?: true

Size: 226 Bytes

Versions: 9

Compression:

Stored size: 226 Bytes

Contents

<%= form.check_box field, checked: ['1', true].include?(component.value_for(field)),
                          class: "form-check-input #{component.valid?(field) ? nil : 'is-invalid'}",
                          **options  %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
active_element-0.0.10 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.9 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.8 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.7 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.6 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.5 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.4 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.3 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.2 app/views/active_element/components/form/_check_box.html.erb