Sha256: 42a2134aa56687c568077975daecb1fcacd03ffb5085732028a6c64df65b8743
Contents?: true
Size: 366 Bytes
Versions: 36
Compression:
Stored size: 366 Bytes
Contents
:ruby values = form.object.class.send(field.method_name).values.map { |v| [t("enumerize.#{form.object.class.name.downcase}.#{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
36 entries across 36 versions & 2 rubygems