Sha256: 37035a9d9fdfde2227c440f4e39414d2cde4cc541c47c1179e70a650817d86f0
Contents?: true
Size: 460 Bytes
Versions: 12
Compression:
Stored size: 460 Bytes
Contents
module JqueryUiForm module Inputs module BooleanInput def boolean_input(method, options = {}) basic_input_helper(:check_box, :boolean, method, options) end def check_box(method, options = {}) checked_value = options.delete(:checked_value) || "1" unchecked_value = options.delete(:unchecked_value) || "0" super(method, options,checked_value, unchecked_value) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems