                           :value "Save app",
                           :type "submit"
                           :on-click #(do
-                                      (put! controls-ch [:saved-project-settings {:project-id project-id
-                                                                                  :merge-paths [[:aws :services :codedeploy]]}])
+                                      (raise! owner [:edited-input {:path (input-path app-name :revision_location :revision_type) :value "S3"}])
+                                      (raise! owner [:saved-project-settings {:project-id project-id
+                                                                              :merge-paths [[:aws :services :codedeploy]]}])
                                       false)}])
            (forms/managed-button
             [:input.remove {:data-failed-text "Failed",

                      "        application_root: /\n"
                      "        region: us-east-1\n"
                      "        revision_location:\n"
                      "          bucket: my-bucket\n"
                      "          key_pattern: appname-1234-{BRANCH}-{SHORT_COMMIT}\n"
                      "        deployment_group: my-deployment-group\n"))]]]]])))))

(defn follow-sidebar [project owner]

  (reify
    om/IRender
    (render [_]
      (html
        [:div
         [:form
          [:input#application-name
            {:required true, :type "text"
             :on-change #(utils/edit-input owner (conj state/inputs-path :project-settings-codedeploy-app-name) %)}]
          [:label {:placeholder "Application Name"}]
          [:input {:value "Add app settings",
                   :type "submit"
                   :on-click #(do
                               (raise! owner [:new-codedeploy-app-name-entered])
                               false)}]]]))))

(defn aws-codedeploy-app-details [project-data owner]
  (reify
