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

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



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