Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_form.html.haml « services « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 724684c9a0a3a2ea8fcd5b8d748a762b33e87491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- if lookup_context.template_exists?('top', "projects/services/#{integration.to_param}", true)
  = render "projects/services/#{integration.to_param}/top", integration: integration

%h3.page-title
  = integration.title
  - if integration.operating?
    = sprite_icon('check', css_class: 'gl-text-green-500')

= form_for(integration, as: :service, url: scoped_integration_path(integration), method: :put, html: { class: 'gl-show-field-errors integration-settings-form js-integration-settings-form', data: { 'test-url' => test_project_service_path(@project, integration) } }) do |form|
  = render 'shared/service_settings', form: form, integration: integration
  %input{ id: 'services_redirect_to', type: 'hidden', name: 'redirect_to', value: request.referer }

- if lookup_context.template_exists?('show', "projects/services/#{integration.to_param}", true)
  %hr
  = render "projects/services/#{integration.to_param}/show", integration: integration