Sha256: 6f0c2f9d75b2299fd97829ab488f0ab863dac9273fd06b98faf19b8b4ae3e691
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
module Kadmin class FormBuilder < ActionView::Helpers::FormBuilder # Creates a checkbox where the value is 0 when checked, 1 when unchecked. # @see Kadmin::Forms::InvertedCheckBox def inverted_check_box(method, options = {}) Kadmin::Forms::InvertedCheckBox.new(@object_name, method, @template, '0', '1', objectify_options(options)).render end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kadmin-0.3.2 | app/helpers/kadmin/form_builder.rb |