                         LABEL 
                           className: "attribute_value_selector"
                           title: if shortened then val 
+
                           SPAN
                             className: if is_grouped then 'toggle_switch' else ''
 
                             INPUT 
-                              type: 'checkbox'
-                              # className: 'bigger'
+                              type: if true_false then 'radio' else 'checkbox'
                               value: val
                               checked: checked
                               onChange: (e) ->
                                 # create a view on the fly for this attribute
+                                if true_false
+                                  opinion_views_ui.visible_attribute_values[attribute.key][true] = false
+                                  opinion_views_ui.visible_attribute_values[attribute.key][false] = false
+                                  opinion_views_ui.visible_attribute_values[attribute.key]["either"] = false
+
                                 opinion_views_ui.visible_attribute_values[attribute.key][val] = e.target.checked
                                 save opinion_views_ui
                                 construct_view_for_attribute(attribute)

              if attribute.render 
                attribute.render()
              else 
                UL null, 

                  for val in attribute.options
                    is_grouped = opinion_views_ui.group_by == attribute.key
                    checked = !!opinion_views_ui.visible_attribute_values[attribute.key][val]

                    val_name = "#{val}" 
                    shortened = false 
                    if val_name.length > 25
                      val_name = "#{val_name.substring(0,22)}..."

    cursor: pointer;
    margin-right: 18px;
  }

  .attribute_value_selector > span {
    display: flex; 
    align-items: center;
  }
  .attribute_value_selector input {

  }
