about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorLynx Kotoura <lynx@lv9.org>2017-09-17 22:23:44 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-09-17 15:23:44 +0200
commit4c14ff659b8a03c69123ef7b78f4db5c137deeb0 (patch)
treeefb3c78c77ecdfee537f37f1b975f5a8ebce7626 /app/views
parentdd6f9a1b827226346d0fff22a79538351fb33028 (diff)
Oauth code in input form and add description message (#4986)
* Oauth code in a input form and add description

* New authcode description
Diffstat (limited to 'app/views')
-rw-r--r--app/views/oauth/authorizations/show.html.haml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/oauth/authorizations/show.html.haml b/app/views/oauth/authorizations/show.html.haml
index b56667f35..ad5236007 100644
--- a/app/views/oauth/authorizations/show.html.haml
+++ b/app/views/oauth/authorizations/show.html.haml
@@ -1,3 +1,4 @@
 .form-container
   .flash-message
-    %code= params[:code]
+    %p= t('doorkeeper.authorizations.show.title')
+    %input{ type: 'text', class: 'oauth-code', readonly: true, value: params[:code], onClick: 'select()' }