                  "Tokens you have generated that can be used to access the CircleCI API."
                  [:br]
                  "Apps using these tokens can act as you and have full read- and write-permissions!"]
-
-                 ;; FIXME: Use modal pattern like SSH keys to add and remove tokens
-                 (om/build form/text-field {:label "Token name"
-                                            :value (str new-user-token)
-                                            :on-change #(utils/edit-input owner state/new-user-token-path %)})
                 [:div.api-item
                  (when (seq tokens)
                    (om/build table/table


(defn api-tokens [app owner]
  (reify
    om/IRender
    (render [_]
      (let [tokens        (get-in app state/user-tokens-path)
            create-token! #(raise! owner [:api-token-creation-attempted {:label %}])
            new-user-token (get-in app state/new-user-token-path)]
        (html
         [:div.account-settings-subpage
          [:legend "Personal API Tokens"]
          (card/titled {:title "API Tokens"
                        :action (button/button {:on-click #(om/set-state! owner :show-modal? true)
                                                :kind :primary

                                   :success-text "Created"
                                   :kind :primary
                                   :size :medium
                                   :on-click #(om/set-state! owner :show-modal? true)}
                                  "Create New Token")}
            (html
              [:div
