Authorize <%= @authorization.client.name %> to use your account?

<% if @authorization.scopes %>

This application will be able to:

<% end %>
<%= form_for @authorization, :as => :authorization, :url => 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 %>
<%= form_for @authorization, :as => :authorization, :url => 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 %>