                                :onClick   #(integration/click-reference (:text data) (:url data))}
                           (:text data)
                           " "
-                          (logo #(om/set-state! owner :show (toggle-show show))))
+                          (vlib/logo #(om/set-state! owner :show (vlib/toggle-show show))))
                 (dom/span nil (:dom-post data))))))
 
 

                    :onDrop     discuss.clipboard/update-reference-drop}
               (dom/div #js {:className "panel-body"}
                        (dom/h4 #js {:className "text-center"} (lib/get-add-text))
                        (dom/h5 #js {:className "text-center"} (safe-html (lib/get-add-premise-text)))
                        (error-view)
                        (dom/div #js {:className "input-group"}
                                 (dom/span #js {:className "input-group-addon"}
                                           (fa-icon "fa-comment"))
                                 (dom/input #js {:className "form-control"
                                                 :onChange  #(commit-target-value :statement % owner)
                                                 :value     statement}))
                        (when (lib/get-selection)
                          (dom/div #js {:className "input-group"}
                                   (dom/span #js {:className "input-group-addon"}
                                             (fa-icon "fa-quote-left"))
                                   (dom/input #js {:className "form-control"
                                                   :value     (lib/get-selection)})
                                   (dom/span #js {:className "input-group-addon"}
                                             (fa-icon "fa-quote-right"))))
                        (dom/button #js {:className "btn btn-default"
                                         :onClick   #(com/dispatch-add-action statement (lib/get-selection))}
                                    "Submit"))))))

                                          :onClick   #(com/item-click (:id item) (:url item))
                                          :value     (:url item)})
                          " "
                          (vlib/safe-html (string/join " <i>and</i> " (map :title (:premises item))))))))) ; get all premises of item and add an "and" between them

(defn items-view [data]
  (dom/div nil
