                     (show-delete-post-dialog context
                                              dialog-view
                                              button-view
-                                             (:time content)))
+                                             (:time post)))
                   :negative-name (r/get-string :cancel)
                   :negative-func actions/cancel})))
 


(defn show-edit-post-dialog
  [context content]
  (let [pics (db/get-pic-data content (:time content) false)]
    (show-dialog context
                 nil
                 (views-dialog/get-new-post-view context content)

                    (actions/new-post context
                                      dialog-view
                                      button-view
                                      (:time post)
                                      (for [pic pics] (:pichash pic))
                                      1))
                  :neutral-name (r/get-string :delete)
