 
 (defcomponent labels [app owner {:keys [labels on-label-updated!]}]
   (init-state [_]
-              {:labels labels
+              {:labelized labels
                :labels-string (clojure.string/join " " (map :name labels))
                :editing-labels? false})
-  (render-state [_ {:keys [labels labels-string editing-labels?]}]
+  (render-state [_ {:keys [labelized labels-string editing-labels?]}]
                 (html
                  [:.card
                   [:.card-content {:ref "card"}

(defn- toggle-edit! [owner target] (om/set-state! owner :editing-labels? (not (checked? owner target))))

(defn- update-labels! [owner input-value]
  (let [new-labels (labelize input-value)]
    (om/set-state! owner :labels new-labels)
    (om/set-state! owner :labels-string input-value)))

(defn- style-trans

                                             ))}]
                     [:span.lever]
                     [(if editing-labels? :strong :span) "Edit"]]]
                   (for [l labelized]
                     [:a.teal.btn {:style {:cursor "default" :text-transform "none" :margin-right "5px" :margin-top "5px"}}
                      [:i.fa.fa-tag.left] (:name l)])
                   (make-labels-input {:owner owner :labels-string labels-string
