summaryrefslogtreecommitdiff
path: root/app/views/shared/_integration_settings.html.haml
blob: 93606ca0abab3b4c44560db0f5b273c09933cd5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
= form_errors(integration)

%div{ data: { testid: "integration-settings-form" } }
  - if @default_integration
    .js-vue-default-integration-settings{ data: integration_form_data(@default_integration, group: @group, project: @project) }
  .js-vue-integration-settings{ data: integration_form_data(integration, group: @group, project: @project) }
    .js-integration-help-html.gl-display-none
      -# All content below will be repositioned in Vue
      - if lookup_context.template_exists?('help', "projects/services/#{integration.to_param}", true)
        = render "projects/services/#{integration.to_param}/help", integration: integration
      - elsif integration.help.present?
        .info-well
          .well-segment
            = markdown integration.help