        [:table {:class "table table-bordered table-striped dataTable"}
         [:thead
          [:tr
+          (when (is-admin-or-super-admin) [:th " "])
+          (when (is-admin-or-super-admin) [:th " "])
           [:th "Sub Divison Name"]
           [:th "Year"]
           [:th  "Mehsil Number"]
           [:th "Date of Orederlevy"]
           [:th "Village Name"]
           [:th "name of Person Whom Recovery is Made"]
-          (when (is-admin-or-super-admin) [:th " "])
-          (when (is-admin-or-super-admin) [:th " "])
+         
           ]]
         [:tbody
          (doall (for [mt o6registers]
                   ^{:key (.-id mt)} [:tr
+                                     (when (is-admin-or-super-admin)[:td [button {:bs-style "success"
+                                                                                  :on-click  #(o6register-update(.-id mt))} "Update"]])
+                                     (when (is-admin-or-super-admin)[:td  [button {:bs-style "danger"
+                                                                                   :on-click #(o6register-delete(.-id mt))}"Delete"]])
                                      [:td (.-subdivisionname mt)]
                                      [:td (.-year mt)]
                                      [:td (.-mehsilnumber mt)]
                                      [:td (.-dateoforderlevy mt)]
                                      [:td (.-villagename mt)]
                                      [:td (.-nameofpersonwhomrecoveryismade mt)]
-                                     (when (is-admin-or-super-admin)[:td [:a {:href "javascript:;"
-                                                                              :on-click  #(o6register-update(.-id mt))
-                                                                              :class "btn btn-success btn-sm glyphicon glyphicon-edit"}]])
-                                     (when (is-admin-or-super-admin)[:td  [:a {:href "javascript:;" :on-click #(o6register-delete(.-id mt))
-                                                                               :class "btn btn-danger btn-sm glyphicon glyphicon-remove"}]])]))]]
+                                      ]))]]
        [:div{:class "col-xs-6 col-centered col-max"} [shared-state 0]]]]]]])
+
 
 
 

       [:table {:class "table table-bordered table-striped dataTable"}
        [:thead
         [:tr
          [:th "Sub Division Name"]
          [:th "Khata Khatuni Number"]
          [:th "Number and Date of Order"]

                                     [:td (.-area mt)]
                                     [:td (.-revenuerentofshareofplotstransferred mt)]
                                     [:td (.-nameanddescriptionofthepersonsremoved mt)]
                                      ]))]]
       [:div{:class "col-xs-6 col-centered col-max"} [shared-state 0]]]]]]])




(defroute o4register-list "/o4register" []
