%label.mdl-checkbox.mdl-js-checkbox.mdl-js-ripple-effect{ for: @model[:node]["id"] }
  = @model[:form].check_box 'data[value]', { checked: @model[:node]["id"], class: 'mdl-checkbox__input', id: @model[:node]["id"] }
  = @model[:form].label :data, @model[:child].to_s + " " + @model[:node]["node"]["name"], class: 'mdl-checkbox__label'

- if @model[:node]["children"].any?
  - @model[:node]["children"].each do |child|
    = cell('cortex/field_types/core/tree/checkbox', node: child, form: @model[:form], child: @model[:child].to_s + " " + "->").(:checkbox)

%label.mdl-checkbox.mdl-js-checkbox.mdl-js-ripple-effect{ for: @model[:node]["id"] }
  = @model[:form].check_box "data[values][#{@model[:node]['id']}]", { checked: @model[:node]["id"], class: 'mdl-checkbox__input', id: @model[:node]["id"] }
  = @model[:form].label :data, @model[:child].to_s + " " + @model[:node]["node"]["name"], class: 'mdl-checkbox__label'

- if @model[:node]["children"].any?
  - @model[:node]["children"].each do |child|
    = cell('cortex/field_types/core/tree/checkbox', node: child, form: @model[:form], child: @model[:child].to_s + " " + "->").(:checkbox)

Add ability to track all inputs into a tree from the same form
Add ability to track all inputs into a tree from the same form
