mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 13:17:13 +00:00
Add button to conveniently copy OAuth code (#11065)
This commit is contained in:
parent
faafc3ae25
commit
c98573fdf9
|
@ -1,4 +1,7 @@
|
||||||
.form-container
|
.form-container
|
||||||
.flash-message
|
.flash-message.simple_form
|
||||||
%p= t('doorkeeper.authorizations.show.title')
|
%p= t('doorkeeper.authorizations.show.title')
|
||||||
%input{ type: 'text', class: 'oauth-code', readonly: true, value: params[:code], onClick: 'select()' }
|
.input-copy
|
||||||
|
.input-copy__wrapper
|
||||||
|
%input{ type: 'text', class: 'oauth-code', spellcheck: 'false', readonly: true, value: params[:code] }
|
||||||
|
%button{ type: :button }= t('generic.copy')
|
||||||
|
|
Loading…
Reference in a new issue