               :type        "text"
               :value       (:title todo)
               :placeholder (str "New todo title")
-              :on-change   #(re-frame/dispatch-sync [:set-todo (assoc todo :title (-> % .-target .-value))])}]]
+              :on-change   #(re-frame/dispatch-sync
+                             [:set-todo (assoc todo :title (-> % .-target .-value))])}]]
     [:div {:class "form-group"}
      [:textarea {:class       "form-control"
                  :placeholder (str "Note...")
                  :value       (:note todo)
-                 :on-change   #(re-frame/dispatch-sync [:set-todo (assoc todo :note (-> % .-target .-value))])}]]
+                 :on-change   #(re-frame/dispatch-sync
+                                [:set-todo (assoc todo :note (-> % .-target .-value))])}]]
     [:div {:class "form-group"}
      [single-dropdown
       :choices     priorities

             :type        "password"
             :placeholder "Confirm password"
             :value (:confirm-password user)
             :on-change   #(do (re-frame/dispatch-sync [:set-user-login (assoc user :confirm-password (-> % .-target .-value))])
                               (if (= (:password user) (-> % .-target .-value))
                                 (re-frame/dispatch-sync [:set-form-errors nil])
                                 (re-frame/dispatch-sync [:set-form-errors {:error "Passwords missmatch"}])))}]]

             :placeholder "Email address"
             :value (:email user)
             :on-change   #(do (re-frame/dispatch-sync [:set-form-errors nil])
                               (re-frame/dispatch-sync
                                 [:set-user-login (assoc user :email (-> % .-target .-value))]))}]
    [:input {:class       "form-control"
             :type        "password"
             :placeholder "Password"
             :value (:password user)
             :on-change   #(do (re-frame/dispatch-sync [:set-form-errors nil])
                               (re-frame/dispatch-sync
                                 [:set-user-login (assoc user :password (-> % .-target .-value))]))}]]
   [:div
    [:p
     [:span "Or go to "]
