                      :dateofinstitution [[v/required :message "Field is required"]]
                      :nameofpo [[v/required :message "Field is required"]]
                      :dateofdecision [[v/required :message "Field is required"]]
-                      :title [[v/required :message "Field is required"]]
+                     :title [[v/required :message "Field is required"]]
                      :khasranumber [[v/required :message "Field is required"]]
                      ;; :area [[v/required :message "Field is required"]]
                      :khatakhatuninumber [[v/required :message "Field is required"]]

           "Misc Add Form"
           add-data
           focus
           #(misc-add-form-onclick add-data focus)])))

(defn misc-update-template [id dmt]
  (let [update-data (r/atom {:id (int id)

                             :receiveddate (.-receiveddate dmt)
                             })
        focus (r/atom nil)]
    (fn []
      (if (is-admin-or-super-admin)
        [misc-template
         "Misc Update Form"
         update-data
         focus
         #(misc-update-form-onclick update-data focus) false]
        [misc-template
         "Misc Update Form"
         update-data
         focus
         #(misc-update-form-onclick update-data focus) true]))))



