               [ui/flat-button
                {:label "Editar"
                 :icon (icons/editor-mode-edit)
-                :on-touch-tap #(set0! :review/editing? true)}]]]
+                :on-touch-tap #(set0! :review/editing? true)}]
+              [ui/flat-button
+               {:label "Apagar"
+                :icon (icons/action-delete)
+                :on-touch-tap (fn [_]
+                                (delete-lembrando lembrando)
+                                (set0! :review/show-answer? false))}]]]
             [:div
              [rui/flat-button
               {:label "Mostrar resposta"

                            {:db/id lembrando
                             :lembrando/due-date new-due-date
                             :lembrando/needs-repeat? needs-repeat?}]))))))

(defn review []
  (let [[all due] (lembrandos)]

            [relembra.reagent-hack :refer (synthetic-text-field)]
            [relembra.sente :as sente]
            [taoensso.sente :refer (cb-success?)]))

(enable-console-print!)

(defonce conn (let [conn (d/create-conn)]
                (d/transact! conn [{:db/id 0
