Sha256: 2c74a5475c7573cda17607324708b40e33c3a2ef60ebff3680f91ab06ffee44a
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
<div class="span16"> <h2>Authorize <%= @authorization.client.name %> to use your account?</h2> </div> <div class="span16"> <% if @authorization.scopes %> <p> This application will be able to: </p> <ul> <% @authorization.scopes.each do |scope| %> <li><%= t scope, :scope => [:doorkeeper, :scopes] %></li> <% end %> </ul> <% end %> <div class="inline_block"> <%= form_for @authorization, :as => :authorization, :url => oauth_authorization_path, :method => :post do |f| %> <%= f.hidden_field :client_id %> <%= f.hidden_field :redirect_uri %> <%= f.hidden_field :state %> <%= f.hidden_field :response_type %> <%= f.hidden_field :scope %> <%= f.submit "Authorize", :class => "btn success" %> or <% end %> </div> <div class="inline_block"> <%= form_for @authorization, :as => :authorization, :url => oauth_authorization_path, :method => :delete do |f| %> <%= f.hidden_field :client_id %> <%= f.hidden_field :redirect_uri %> <%= f.hidden_field :state %> <%= f.hidden_field :response_type %> <%= f.hidden_field :scope %> <%= f.submit "Deny", :class => "btn" %> <% end %> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
doorkeeper-0.5.0 | app/views/doorkeeper/authorizations/new.html.erb |
doorkeeper-0.5.0.rc1 | app/views/doorkeeper/authorizations/new.html.erb |