                  init-state-mixin []
   (let [{:keys [username
                 password
+                public
                 isValid]} (state/react cursor)]
     [:div
      [:div.form-panel

       :onChange (fn [_ v]
                   (state/update-value [:password] v cursor))})))

(defn- add-user-handler
  []
  (handler/post

  []
  (state/set-value {:username ""
                    :password ""
                    :public   false
                    :isValid  false} cursor))

(def init-state-mixin
