              (when (:updating item)
                [:div.loading-spinner common/spinner])]))))
 
-(defn number-setting-entry [item owner]
+(defn- setting-entry [item owner type]
   (reify
     om/IRender
     (render [_]

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

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

             [:div.details (:description item)]
             (om/build (case (:value_type item)
                         "Boolean" boolean-setting-entry
                         "Number" number-setting-entry
                         "String" text-setting-entry)
                       item)]))))

(defn system-settings [app owner]
