summaryrefslogtreecommitdiff
path: root/app/views/ci/runner/_how_to_setup_runner.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/ci/runner/_how_to_setup_runner.html.haml')
-rw-r--r--app/views/ci/runner/_how_to_setup_runner.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/ci/runner/_how_to_setup_runner.html.haml b/app/views/ci/runner/_how_to_setup_runner.html.haml
index b1b142460b0..4307060d748 100644
--- a/app/views/ci/runner/_how_to_setup_runner.html.haml
+++ b/app/views/ci/runner/_how_to_setup_runner.html.haml
@@ -13,5 +13,9 @@
= _("Use the following registration token during setup:")
%code#registration_token= registration_token
= clipboard_button(target: '#registration_token', title: _("Copy token to clipboard"), class: "btn-transparent btn-clipboard")
+ .prepend-top-10.append-bottom-10
+ = button_to _("Reset runners registration token"), reset_token_url,
+ method: :put, class: 'btn btn-default',
+ data: { confirm: _("Are you sure you want to reset registration token?") }
%li
= _("Start the Runner!")