15 lines
854 B
Plaintext
15 lines
854 B
Plaintext
- container_title = local_assigns.fetch(:container_title, 'Your New Personal Access Token')
|
|
- clipboard_button_title = local_assigns.fetch(:clipboard_button_title, 'Copy personal access token to clipboard')
|
|
|
|
.created-personal-access-token-container
|
|
%h5.prepend-top-0
|
|
= container_title
|
|
.form-group
|
|
.input-group
|
|
= text_field_tag 'created-personal-access-token', new_token_value, readonly: true, class: "qa-created-personal-access-token form-control js-select-on-focus", 'aria-describedby' => "created-token-help-block"
|
|
%span.input-group-append
|
|
= clipboard_button(text: new_token_value, title: clipboard_button_title, placement: "left", class: "input-group-text btn-default btn-clipboard")
|
|
%span#created-token-help-block.form-text.text-muted.text-danger Make sure you save it - you won't be able to access it again.
|
|
|
|
%hr
|