                  (om/build inputs/address-autocomplete-input [(-> journey :start-place)
                                                               {:edit-key :address
                                                                :coords-key :coords
-                                                               :className "address-fields" ;;TODO - rename className -> class
+                                                               :className "address-fields"
                                                                :placeholder-text "Start address"}])]
                 [:div {:class "ui fluid input address-input"}
                  (om/build inputs/address-autocomplete-input [(-> journey :end-place)
                                                               {:edit-key :address
                                                                :coords-key :coords
-                                                               :className "address-fields" ;; TODO - rename className -> class
+                                                               :className "address-fields"
                                                                :placeholder-text "End address"}])]
                 [:div {:class "ui red button go-button"
                        :on-click #(animate-scroll-to-offset 550)}

      (html [:div {:class "ui segment transit-view"}
             (om/build-all transit-directions-view transit-journey) ]))))

;; View to edit the current journey (i.e. change start/end locations and remove existing waypoints)
(defn attractions-selector-view [[current-city journey transit-journey] owner]
  (reify
    om/IRender
    (render [_]
      (html [:div {:class "ui basic segment fourteen wide attractions-selector-view"}

                 (om/build inputs/address-autocomplete-input [(-> journey :start-place)
                                                              {:edit-key :address
                                                               :coords-key :coords
                                                               :className "address-fields"
                                                               :placeholder-text "Start address"}])]]
                [:div {:class "sixteen wide field"}
                 [:div {:class "ui fluid input address-input"}
                  (om/build inputs/address-autocomplete-input [(-> journey :end-place)
                                                               {:edit-key :address
                                                                :coords-key :coords
                                                                :className "address-fields"
                                                                :placeholder-text "End address"}])]]]]]))))


