Sha256: 9822b8c69f5da934ef81f1f5a375a9995d23edad87ff74503ac62813a2c622cc
Contents?: true
Size: 983 Bytes
Versions: 13
Compression:
Stored size: 983 Bytes
Contents
<% oauth_grant = rodauth.scope.instance_variable_get(:@oauth_grant) %> <%= form_tag rodauth.device_path, method: :post, class: "form-horizontal", id: "device-verification-form" do %> <p class="lead"><%= rodauth.oauth_device_verification_page_lead(user_code: @oauth_grant[rodauth.oauth_grants_user_code_column]) %></p> <div class="form-group"> <h1 class="display-6"><%= rodauth.oauth_grants_scopes_label %></h1> <ul class="list-group"> <% oauth_grant[rodauth.oauth_grants_scopes_column].split(rodauth.oauth_scope_separator).each do |scope| %> <li class="list-group-item"><%= scope %></li> <% end %> </ul> </div> <%= hidden_field_tag :user_code, rodauth.param("user_code") %> <p class="text-center"> <%= submit_tag rodauth.oauth_device_verification_button, class: "btn btn-outline-primary" %> <%= link_to rodauth.oauth_cancel_button, "#{rodauth.device_path}?error=access_denied", class: "btn btn-outline-danger" %> </p> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems