             get-field-value #(some->> field-ref
                                       (om/get-node owner)
                                       .-value
-                                      js/Number)]
+                                      type)]
         (html
          [:div.form-group.details
           [:input.form-control

             (when (:updating item)
               [:div.loading-spinner common/spinner])]))))

(defn number-setting-entry [item owner]
  (reify
    om/IRender
    (render [_]

                   "Save"
                   common/spinner)]])))))

(defn number-setting-entry [item owner]
  (setting-entry item owner js/Number))

(defn text-setting-entry [item owner]
  (setting-entry item owner js/String))

(defn system-setting [item owner]
  (reify
    om/IRender
