2018-03-19 16:11:12 +00:00
.created-deploy-token-container
%h5.prepend-top-0
2018-04-02 15:57:44 +00:00
= s_('DeployTokens|Your New Deploy Token')
2018-04-05 22:07:36 +00:00
.form-group
= text_field_tag 'deploy-token-user', deploy_token.username, readonly: true, class: 'deploy-token-field form-control js-select-on-focus'
2018-04-06 01:04:11 +00:00
= clipboard_button(text: deploy_token.username, title: s_('DeployTokens|Copy username to clipboard'), placement: 'left')
%span.deploy-token-help-block.prepend-top-5.text-success= s_("DeployTokens|Use this username as a login.")
2018-04-05 22:07:36 +00:00
2018-03-19 16:11:12 +00:00
.form-group
2018-04-05 22:07:36 +00:00
= text_field_tag 'deploy-token', deploy_token.token, readonly: true, class: 'deploy-token-field form-control js-select-on-focus'
= clipboard_button(text: deploy_token.token, title: s_('DeployTokens|Copy deploy token to clipboard'), placement: 'left')
2018-04-06 01:04:11 +00:00
%span.deploy-token-help-block.prepend-top-5.text-danger= s_("DeployTokens|Use this token as a password. Make sure you save it - you won't be able to access it again.")
2018-03-19 16:11:12 +00:00
%hr