Sha256: e5d1f69a4499876d4a1895cba3c416208584c6c120e89300b48d67381eacf677
Contents?: true
Size: 580 Bytes
Versions: 4
Compression:
Stored size: 580 Bytes
Contents
module FieldTypes module Core class CheckboxCell < FieldTypes::Core::Cell def checkbox render end private def value if @options[:data].blank? false else @options[:data]["values"].include?(node_id) ? true : false end end def node_id @options[:node]['id'].to_s end def child_identifier @options[:child].to_s + " " + "->" end def display_lineage @options[:child].to_s + " " + @options[:node]["node"]["name"] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems