Sha256: 428aa16f961fef43c965c0811786b41a9de6b622a60ff1c618a62a277b054ccb
Contents?: true
Size: 471 Bytes
Versions: 8
Compression:
Stored size: 471 Bytes
Contents
require 'bh/helpers/form/base_helper' module Bh module Form module RadioButtonHelper include BaseHelper def radio_button(method, tag_value, options = {}) options.merge! offset: true, use_label: false options[:label] ||= tag_value base_field method, :radio_button, options do label_and_field 'radio', method, options do super method, tag_value, options end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems