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

_form.html.haml « integrations « shared « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4ec7f286c7abb789ee072d4c94ac1c0bd62d0e31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
- integration = local_assigns.fetch(:integration)

%h3.page-title
  = integration.title

%p= integration.description

= form_for integration, as: :service, url: scoped_integration_path(integration), method: :put, html: { class: 'gl-show-field-errors fieldset-form integration-settings-form js-integration-settings-form', data: { 'can-test' => integration.can_test?, 'test-url' => scoped_test_integration_path(integration) } } do |form|
  = render 'shared/service_settings', form: form, integration: integration

  - if integration.editable?
    .footer-block.row-content-block
      = service_save_button
      = link_to _('Cancel'), scoped_integration_path(integration), class: 'btn btn-cancel'