2020-05-24 23:13:21 +05:30
|
|
|
.created-personal-access-token-container
|
2020-06-23 00:09:42 +05:30
|
|
|
%h5.gl-mt-0
|
2020-05-24 23:13:21 +05:30
|
|
|
= _('Your new %{type}') % { type: type }
|
|
|
|
.form-group
|
|
|
|
.input-group
|
2022-10-11 01:57:18 +05:30
|
|
|
= text_field_tag 'created-personal-access-token', new_token_value, readonly: true, class: 'form-control js-select-on-focus', data: { qa_selector: 'created_access_token_field' }, 'aria-describedby' => 'created-token-help-block'
|
2020-05-24 23:13:21 +05:30
|
|
|
%span.input-group-append
|
|
|
|
= clipboard_button(text: new_token_value, title: _('Copy %{type}') % { type: type }, 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
|