Sha256: 662998741e6a2be65d89d29bc1dd89212aece50d9a65e2825373828b86aeda81
Contents?: true
Size: 377 Bytes
Versions: 10
Compression:
Stored size: 377 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
10 entries across 10 versions & 1 rubygems