Sha256: a6cdffd35429f348068a4063241dc1811c7a8baa0724dc692b2b3730240b8655
Contents?: true
Size: 369 Bytes
Versions: 8
Compression:
Stored size: 369 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, :fienjoyt, {}, {} { |i| i.label(class: 'radio') { i.radio_button + i.text } }
Version data entries
8 entries across 8 versions & 1 rubygems