       ;(log "Selected")
       ;(log (:selected-activities p))
       (log "Speaker")
-      (log (:speaker-activities p))
       (dom/div nil
         (dom/h2 nil "Time Schedule")
         (dom/table

                     (sort-by :adjudicator/number adjudicators))))))))))

(defn adjudicator-panels [panels on-add-fn on-delete-fn on-edit-fn]
  (log panels)
  (dom/div nil
    (dom/div #js {:className "container-fluid"}
      (dom/h2 {:className "sub-header"} "Adjudicator Panels")

        (dom/div #js {:className "form-group"}
          (dom/div #js {:className "btn-group"}
            (dom/button #js {:className "btn btn-default"
                             :onClick #(on-add-fn)}
                        (dom/span #js {:className "glyphicon glyphicon-plus"}))))
        (apply dom/div nil
               (map #((om/factory AdjudicatorPanelsRow {:keyfn :adjudicator-panel/id})
