mashirozx/mastodon

View on GitHub
app/views/oauth/authorizations/show.html.haml

Summary

Maintainability
Test Coverage
.form-container
  .flash-message.simple_form
    %p= t('doorkeeper.authorizations.show.title')
    .input-copy
      .input-copy__wrapper
        %input{ type: 'text', class: 'oauth-code', spellcheck: 'false', readonly: true, value: params[:code] }
      %button{ type: :button }= t('generic.copy')