 
 (defmulti pane-view :type)
 
-(defmethod pane-view :content-pane [pane]
+(defmethod pane-view :content-pane [pane layout]
   [:div.fill.full
    {:on-click #(do
                  (reset! selected-pane-id (if (is-selected pane) nil (:id pane)))

        [:div.row.fill {:style {:padding-bottom "60px"}}
         [:div.col-md-12.fill.full {:style {:background-color "#f5f5f5"}}
          [:div#layoutBox.fill
           [layout-editor]]]]]])))

(defmethod content-view :default [pane]
  [:div.fill "blank content"])

(defn layout-editor [layout]
  [:div.fill.full
   (if @alert [:div.alert.alert-fixed.alert-dismissible {:class (str "alert-" (first @alert))}
               [:button.close {:on-click #(reset! alert nil) :aria-label "Close"}
                [:span {:aria-hidden true} "×"]] (second @alert)])
   @modal
   (pane-view (get @layout 1) layout)])

(defn split-pane [orientation]
  (if-let [pane (selected-pane)]
