-

- <%= raw t('.prompt', client_name: content_tag(:strong, class: 'text-info') { @pre_auth.client.name }) %> +

+ <%= raw t(".prompt", client_name: content_tag(:strong, class: "text-info") { @pre_auth.client.name }) %>

<% if @pre_auth.scopes.count > 0 %>
-

<%= t('.able_to') %>:

- -
    +

    <%= t(".able_to") %>:

    +
      <% @pre_auth.scopes.each do |scope| %> -
    • <%= t scope, scope: [:doorkeeper, :scopes] %>
    • +
    • <%= t scope, scope: %i[doorkeeper scopes] %>
    • <% end %>
@@ -28,7 +71,7 @@ <%= hidden_field_tag :scope, @pre_auth.scope %> <%= hidden_field_tag :code_challenge, @pre_auth.code_challenge %> <%= hidden_field_tag :code_challenge_method, @pre_auth.code_challenge_method %> - <%= submit_tag t('doorkeeper.authorizations.buttons.authorize'), class: "btn btn-success btn-lg btn-block" %> + <%= submit_tag t("doorkeeper.authorizations.buttons.authorize"), class: "btn btn-success" %> <% end %> <%= form_tag oauth_authorization_path, method: :delete do %> <%= hidden_field_tag :client_id, @pre_auth.client.uid %> @@ -38,7 +81,10 @@ <%= hidden_field_tag :scope, @pre_auth.scope %> <%= hidden_field_tag :code_challenge, @pre_auth.code_challenge %> <%= hidden_field_tag :code_challenge_method, @pre_auth.code_challenge_method %> - <%= submit_tag t('doorkeeper.authorizations.buttons.deny'), class: "btn btn-danger btn-lg btn-block" %> + <%= submit_tag t("doorkeeper.authorizations.buttons.deny"), class: "btn btn-danger" %> <% end %> +