glitch-soc/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
        = copyable_input value: params[:code], class: 'oauth-code'
      %button{ type: :button }= t('generic.copy')