 
             (dom/div #js {:className "col-sm-10 col-sm-offset-2 col-md-10 col-md-offset-2 main"}
               (condp = spage
+                :create-new-competition ((om/factory CreateCompetitionView))
                 :properties ((om/factory PropertiesView) selected-competition)
                 :classes ((om/factory ClassesView) selected-competition)
                 :competitions ((om/factory CompetitionsView)

              (dom/th #js {:width "20"} "Panel")
              (dom/th #js {:width "20"} "Type")))
          (apply dom/tbody nil (map (om/factory ScheduleRow) activites)))))))

;;;;;;;;;;;;;;;;;;;;
;; Menu

                                      :onChange #(do
                                                  (om/transact! reconciler `[(app/set-import-status
                                                                               {:status :importing})])
                                                  (on-click-import-file %))}))

            ;(dom/li
            ;  #js {:className (if (= active-page-key page-key) "active" "")
            ;       :onClick   #(om/transact! component `[(app/select-page {:page ~page-key})])}
            ;  (dom/a nil button-name))
            (dom/button #js {:className "btn btn-default"
                             :onClick #(om/transact! reconciler
                                                     `[(app/select-page {:page :create-new-competition})])}
                        "Skapa ny..")))
        (= import-status :importing) (dom/h3 nil "Importerar, vänligen vänta..")))))

;;;;;;;;;;;;;;;;;;;;
