Sha256: 0238ad05dc4f9ae6ed991c138fd25ae0199428b1d34a9aab785a6fb7b904aa5d

Contents?: true

Size: 282 Bytes

Versions: 19

Compression:

Stored size: 282 Bytes

Contents

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
active_element-0.0.31 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.30 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.29 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.28 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.27 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.26 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.24 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.23 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.22 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.21 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.19 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.18 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.17 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.16 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.15 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.14 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.13 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.12 app/views/active_element/components/form/_check_box.html.erb
active_element-0.0.11 app/views/active_element/components/form/_check_box.html.erb