         {:onValid   #(state/update-value [:isValid] true cursor)
          :onInvalid #(state/update-value [:isValid] false cursor)}
         (form-username username)
-        (form-password password))]]))+        (form-password password)
+        (form-public public))]]))
                 init-state-mixin []
  (let [{:keys [username
                password
                isValid]} (state/react cursor)]
    [:div
     [:div.form-panel

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

(def init-state-mixin
