                                                       activity-id))]
                                (assoc activity
                                  :EnrollmentCap
-                                 (str (:EnrollmentCap activity))
+                                 (if (> (:EnrollmentCap activity) 0)
+                                   (str (:EnrollmentCap activity))
+                                   "")
                                  :TicketPrice
                                  (if (> (:TicketPrice activity) 0)
                                    (string/format "%.2f" (:TicketPrice activity))

      (if-let [activity (seq (d/entity @api/activities-db activity-id))]
        (reset! form (let [activity (into {} activity)]
                       (assoc activity
                         :EnrollmentCap (str (:EnrollmentCap activity))
                         :TicketPrice   (if (> (:TicketPrice activity) 0)
                                          (string/format "%.2f" (:TicketPrice activity))
                                          ""))))

               (if activity-id "Edit" "Add")
               (create-activity @form)]
              (when activity-id
                [:div.ui.button
                 {:on-click #(js/location.replace (routes/event-activity-add event))}
                 "Cancel"])]]
            [:div.ui.vertical.segment
