        "Owned"]
       [:a.item {:href (event-add-route)}
        "Add"]]
-     (when (seq created-events)
-       [:div.ui.bottom.attached.segment
-        [:div
-         [:div.ui.vertical.segment
-          [:h1.ui.header "Events You Own"]]
-         [:div.ui.vertical.segment
+     [:div.ui.bottom.attached.segment
+      [:div
+       [:div.ui.vertical.segment
+        [:h1.ui.header "Events You Own"]]
+       [:div.ui.vertical.segment
+        (if (seq created-events)
           [:div.ui.divided.items
            (for [event created-events]
              ^{:key (:EventId event)}

           :read   (GET  uri options)
           :update (check-id PUT)
           :delete (check-id DELETE)
           (POST (str uri "/" (name operation)) options)))))
    ([operation params handler]
     (dispatch! operation params handler nil))))

               [:div.extra
                [:a.ui.right.floated.small.button {:href nil}
                 "Edit"
                 [:i.right.chevron.icon]]]]])]
          [:p "You don't own any events."])]]
      [:div.ui.dimmer {:class (when (empty? @events) "active")}
       [:div.ui.loader]]]]))

(defn event-page [event-id]
  (let [event (into {} (d/entity @events-db event-id))
