Sha256: 3267f238e49574a0f12149fcaed95d25bf708545fe4b2b0032e3199e9b1428a1
Contents?: true
Size: 357 Bytes
Versions: 30
Compression:
Stored size: 357 Bytes
Contents
- values = form.object.class.send(field.method_name).values.map { |v| [t("enumerize.#{form.object.class.name.underscore}.#{field.method_name}.#{v}", default: t("enumerize.defaults.#{field.method_name}.#{v}")), v] } = form.collection_check_boxes(field.method_name, values, :last, :first, {}, {}) { |i| i.label( class: 'checkbox' ) { i.check_box + i.text } }
Version data entries
30 entries across 30 versions & 1 rubygems