 
       # having no selections for an attribute paradoxically means that all values are valid.
       has_one_enabled = false 
-      for val,enabled of opinion_view_ui.selected_vals_for_attribute[attribute]
+      for val,enabled of opinion_views_ui.selected_vals_for_attribute[attribute]
         has_one_enabled ||= enabled
       if !has_one_enabled
-        opinion_view_ui.selected_vals_for_attribute[attribute] = {}
+        opinion_views_ui.selected_vals_for_attribute[attribute] = {}
 
       pass = (u) -> 
           user = fetch(u)
           val_for_user = user.tags[attribute]
           is_array = Array.isArray(val_for_user)
 
-          passing_vals = (val for val,enabled of opinion_view_ui.selected_vals_for_attribute[attribute] when enabled)
+          passing_vals = (val for val,enabled of opinion_views_ui.selected_vals_for_attribute[attribute] when enabled)
 
           passes = false
           for passing_val in passing_vals

        activated_weights[k] = v 

    DIV 
      style: {}

      DropOverlay 
        open_area_on: 'activation'
        render_anchor: (menu_showing) =>
          if !menu_showing
            [
              WeighOpinionsIcon
                height: 30

              SPAN 
                style: 
                  paddingLeft: 8
                'weigh opinions'
            ]
          else 
            SPAN 
              style: 
                paddingLeft: 8          
              'close opinion weights'

        # anchor_style: 
        #   float: 'right'
        anchor_open_style: 
          backgroundColor: focus_color() 
        anchor_class_name: 'filter-weight-sort-button'
        drop_area_style:
          top: 52
          width: @props.containerWidth + 50
          right: -25

        DIV null,
          DIV 
            style: 
              position: 'absolute'
              right: 60
              top: -17
            dangerouslySetInnerHTML: __html: """<svg width="25px" height="13px" viewBox="0 0 25 13" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Page-2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Artboard" transform="translate(-1086.000000, -586.000000)" fill="#FFFFFF" stroke="#979797"><polyline id="Path" points="1087 599 1098.5 586 1110 599"></polyline></g></g></svg>"""


          UL 
            style: 
              listStyle: 'none'

            for k,v of default_weights
              LI 
                style: 
                  padding: '8px 0'
                
                LABEL 
                  className: 'opinion_view_label'

                  INPUT 
                    type: 'checkbox'
                    checked: k of activated_weights
                    className: 'bigger opinion_view_checker'
                    onChange: do (k,v) -> ->
                      toggle_weight v

                  SPAN 
                    className: 'opinion_view_label_block'

                    DIV 
                      className: 'opinion_view_name'
                      v.name
                    DIV 
                      className: 'opinion_view_explanation'
                      v.label

      DIV null, 
        UL 
          style: 
            listStyle: 'none'
            paddingTop: 4

          for k,v of activated_weights
            do (k,v) ->
              draw_filter_cancel v, (v) -> toggle_weight(v)


VerificationProcessExplanation = ReactiveComponent

    cursor: pointer;
  }
  .opinion_view_name {
    font-size: 14px;
    font-weight: 600;
  } 

  .attribute_group {
    margin-top: 8px;
  }

  .attribute_group button {
    background: #F0F0F0;
    border: 1px solid #E0E0E0;
    border-radius: 8px 8px 0 0;
    font-size: 12px;
    width: 100%;
    padding: 4px 12px;
    text-align: left;
  }

  .attribute_value_selector {
    display: block; 
    cursor: pointer;
    margin-right: 18px;
  }
  .attribute_value_selector input {
    position: relative;
    top: 2px;
  }
  .attribute_value_selector .attribute_value_value {
    padding-left: 8px;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Fira Sans Condensed';
  }
