Commit 1b5ea408 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch...

Merge branch '358310-replace-generic-checkbox-with-gitlab-ui-styled-checkbox-in-app-views-admin' into 'master'

Replace generic checkbox with GitLab UI styled checkbox in app/views/admin/application_settings/_sentry.html.haml

See merge request gitlab-org/gitlab!84837
parents d0fbf46b 47ac34e9
= form_for @application_setting, url: metrics_and_profiling_admin_application_settings_path(anchor: 'js-sentry-settings'), html: { class: 'fieldset-form', id: 'sentry-settings' } do |f| = gitlab_ui_form_for @application_setting, url: metrics_and_profiling_admin_application_settings_path(anchor: 'js-sentry-settings'), html: { class: 'fieldset-form', id: 'sentry-settings' } do |f|
= form_errors(@application_setting) = form_errors(@application_setting)
%span.text-muted %span.text-muted
...@@ -6,9 +6,7 @@ ...@@ -6,9 +6,7 @@
%fieldset %fieldset
.form-group .form-group
.form-check = f.gitlab_ui_checkbox_component :sentry_enabled, _('Enable Sentry error tracking')
= f.check_box :sentry_enabled, class: 'form-check-input'
= f.label :sentry_enabled, _('Enable Sentry error tracking'), class: 'form-check-label'
.form-group .form-group
= f.label :sentry_dsn, _('DSN'), class: 'label-light' = f.label :sentry_dsn, _('DSN'), class: 'label-light'
= f.text_field :sentry_dsn, class: 'form-control gl-form-input', placeholder: 'https://public@sentry.example.com/1' = f.text_field :sentry_dsn, class: 'form-control gl-form-input', placeholder: 'https://public@sentry.example.com/1'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment