diff --git a/app/assets/javascripts/integrations/index.js b/app/assets/javascripts/integrations/index.js index 82255fd284e5be6c9c73a68cd7cf7bc4371edb71..69db098d981c927f2d6618be3c319c8d6337e3f9 100644 --- a/app/assets/javascripts/integrations/index.js +++ b/app/assets/javascripts/integrations/index.js @@ -2,5 +2,5 @@ import IntegrationSettingsForm from './integration_settings_form'; $(() => { - new IntegrationSettingsForm('.js-integration-settings-from'); + new IntegrationSettingsForm('.js-integration-settings-form'); }); diff --git a/app/views/projects/services/_form.html.haml b/app/views/projects/services/_form.html.haml index 0d7002f6ba53091aae717258761dba5689aa2e5b..8eeed5cda09aad3904cbe1b20504f28d8f8b96a1 100644 --- a/app/views/projects/services/_form.html.haml +++ b/app/views/projects/services/_form.html.haml @@ -9,7 +9,7 @@ %p= @service.description .col-lg-9 - = form_for(@service, as: :service, url: namespace_project_service_path(@project.namespace, @project, @service.to_param), method: :put, html: { class: 'gl-show-field-errors form-horizontal js-integration-settings-from', data: { "can-test" => "#{@service.can_test?}" } }) do |form| + = form_for(@service, as: :service, url: namespace_project_service_path(@project.namespace, @project, @service.to_param), method: :put, html: { class: 'gl-show-field-errors form-horizontal js-integration-settings-form', data: { "can-test" => "#{@service.can_test?}" } }) do |form| = render 'shared/service_settings', form: form, subject: @service .footer-block.row-content-block %button.btn.btn-save{ type: 'submit' }