about summary refs log tree commit diff
path: root/app/views
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-06-13 23:53:21 +0200
committerGitHub <noreply@github.com>2019-06-13 23:53:21 +0200
commitc0e5f32d13dfd696728dc1fa2ad9a93a27aa405f (patch)
treecf6ad8df684977b10ffd0d4a313d6dccb42ac15a /app/views
parent80849812d2a03ff9da671a2204bacf0c85f6ab0d (diff)
parent0fd7a8b63d6247ff1fe1d305ec712c0a519a52f1 (diff)
Merge pull request #1111 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views')
-rw-r--r--app/views/oauth/authorizations/show.html.haml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/oauth/authorizations/show.html.haml b/app/views/oauth/authorizations/show.html.haml
index ad5236007..c3c9960d8 100644
--- a/app/views/oauth/authorizations/show.html.haml
+++ b/app/views/oauth/authorizations/show.html.haml
@@ -1,4 +1,7 @@
 .form-container
-  .flash-message
+  .flash-message.simple_form
     %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')