                      )
 
           :create-class ((om/factory CreateClassView) (:app/selected-class p))
+
+          :edit-class-participants ((om/factory SelectClassParticipantsView)
+                                     {:participants participants
+                                      :selected-class (:app/selected-class p)})
 
           :time-schedule ((om/factory ScheduleView) {:competition/activities
                                                      (:competition/activities selected-competition)

(defui CreateClassView
  static om/IQuery
  (query [_]
    [:class/name :class/id])
  Object
  (render
    [this]

(defui ClassRow
  static om/IQuery
  (query [_]
    '[:class/position :class/name :class/remaining :class/id
      ;; TODO - in a normalized view only participant/id should be good
      {:class/starting [:participant/number :participant/name :participant/id]}
      {:class/rounds
       [{:round/status [*]}
       {:round/type [*]}]}
