Commit 47ac34e9 authored by Anna Vovchenko's avatar Anna Vovchenko

Replace generic checkbox with GitLab UI element

Changed the generic checkbox on the Admin - Settings - Metrix page,
under the Sentry section.
parent 84503b11
= 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