Sha256: 06f9702314a993a9c3a30057a6197129449f0c00ee9f15f4237e8dbe554f4d49
Contents?: true
Size: 1.29 KB
Versions: 17
Compression:
Stored size: 1.29 KB
Contents
<div class="span16"> <h2>Authorize <%= @pre_auth.client.name %> to use your account?</h2> </div> <div class="span16"> <% if @pre_auth.scopes %> <p> This application will be able to: </p> <ul> <% @pre_auth.scopes.each do |scope| %> <li><%= t scope, :scope => [:doorkeeper, :scopes] %></li> <% end %> </ul> <% end %> <div class="inline_block"> <%= form_tag oauth_authorization_path, :method => :post do %> <%= hidden_field_tag :client_id, @pre_auth.client.uid %> <%= hidden_field_tag :redirect_uri, @pre_auth.redirect_uri %> <%= hidden_field_tag :state, @pre_auth.state %> <%= hidden_field_tag :response_type, @pre_auth.response_type %> <%= hidden_field_tag :scope, @pre_auth.scope %> <%= submit_tag "Authorize", :class => "btn success" %> or <% end %> </div> <div class="inline_block"> <%= form_tag oauth_authorization_path, :method => :delete do %> <%= hidden_field_tag :client_id, @pre_auth.client.uid %> <%= hidden_field_tag :redirect_uri, @pre_auth.redirect_uri %> <%= hidden_field_tag :state, @pre_auth.state %> <%= hidden_field_tag :response_type, @pre_auth.response_type %> <%= hidden_field_tag :scope, @pre_auth.scope %> <%= submit_tag "Deny", :class => "btn" %> <% end %> </div> </div>
Version data entries
17 entries across 17 versions & 1 rubygems