summaryrefslogtreecommitdiff
path: root/app/views/admin/runners/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/runners/edit.html.haml')
-rw-r--r--app/views/admin/runners/edit.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/admin/runners/edit.html.haml b/app/views/admin/runners/edit.html.haml
index 55fd09ac203..5570c46c17f 100644
--- a/app/views/admin/runners/edit.html.haml
+++ b/app/views/admin/runners/edit.html.haml
@@ -25,10 +25,9 @@
- if project
%tr
%td
- = render 'shared/global_alert',
- variant: :danger,
+ = render Pajamas::AlertComponent.new(variant: :danger,
dismissible: false,
- title: project.full_name do
+ title: project.full_name) do
.gl-alert-actions
= link_to _('Disable'), admin_namespace_project_runner_project_path(project.namespace, project, runner_project), method: :delete, class: 'btn gl-alert-action btn-confirm btn-md gl-button'