Sha256: b854e5492f4be916de250c0f317676c17e272a5a5b91b7b1bfd7c5b3b126243f
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_radio_buttons field.method_name, values, :last, :first, {}, {} { |i| i.label(class: 'radio') { i.radio_button + i.text } }
Version data entries
36 entries across 36 versions & 2 rubygems