                 [:div.col-md-4.col-xs-4 (om/build gravatar manager-email {:opts {:size 50}})]
                 [:div.col-md-8.col-xs-8
                  [:h5 (str manager-firstname " " manager-lastname)]
+                 ]
                 ]
-               ]
                [:div.col-md-10.col-xs-10
                 [:div.col-md-11.col-xs-11
                  [:h2 department]
-                ]
+                 ]
                 [:div.col-md-1.col-xs-1
                  [:button {:class "btn btn-default glyphicon glyphicon-sort"
                            :data-toggle "collapse"
                            :data-parent "accordian"
                            :data-target (str "#" (clojure.string/replace department #"[\s]" "-"))}]
+                 ]
                 ]
                ]
-              ]
 
               [:div.panel-body.panel-collapse.collapse {:id (clojure.string/replace department #"[\s]" "-") :style {:height "auto"}}
-                 (if (not (zero? (count rows-of-employees)))
-                   (for [employee-row rows-of-employees]
-                     [:div.row.accordian-inner
-                      (for [employee-info-component (om/build-all employee-info employee-row)]
-                        employee-info-component)])
+               (if (not (zero? (count rows-of-employees)))
+                 (for [employee-row rows-of-employees]
                    [:div.row.accordian-inner
-                    [:h5.text-center "Currently, this department does not contain any employees"]])]]))))
+                    (for [employee-info-component (om/build-all employee-info employee-row)]
+                      employee-info-component)])
+                 [:div.row.accordian-inner
+                  [:h5.text-center "Currently, this department does not contain any employees"]])]]))))
 
 
 (defcomponent department-list [{:keys [departments]}]
   (display-name [_]
-    "department-list")
+                "department-list")
 
   (render [_]
-   (html
-    [:div.clearfix.accordian
-       (dom/ul (om/build-all department-employees departments))])))
+          (html
+           [:div.clearfix.accordian
+            (dom/ul (om/build-all department-employees departments))])))
 
 
 (defcomponent departments-container [app owner opts]
   (display-name [_]
-    "departments-box")
+                "departments-box")
 
   (will-mount [_]
               (go

          (html
           [:div
            (->departments-container app
                      {:opts {:url "http://localhost:3030/api/departments"
                              :poll-interval 2000}})])))

(defn main []
  (doto history
    (goog.events/listen EventType/NAVIGATE on-navigate)

                 [:div.row
                  (->department-list app)])))

(defcomponent om-app [app owner]
  (display-name [_]
                "app")
