                              :receiveddate (.-receiveddate dmt)
                              })
         focus (r/atom nil)]
-    (fn [] [misc-template
-           "Misc Update Form"
-           update-data
-           focus
-           #(misc-update-form-onclick update-data focus)])))
-
+    (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]))))
 
 
 

       [upd-check-input-element data-set focus]
       ]
      [:div.box-footer
       [:div.col-sm-8.col-md-offset-5 
        [button-tool-bar
         [button {:bs-style "success" :on-click save-function } "Save"]]
        [button {:bs-style "danger" :on-click form-cancel } "Cancel"]]
       ;;[:span (str @data-set)]
       ]]]]])


(defn map-mutation-data [mut]

(defn misc-form-cancel [event]
  (secretary/dispatch! "/misc"))

(defn misc-template [doc-name data-set focus save-function bool]
  [:div.container
   [:div.col-md-12
    [:div.box.box-info
