Sha256: e260a591051c8ceff812e2628b089ecf5133c0667fe09905b8c63cf5aa31e78b

Contents?: true

Size: 783 Bytes

Versions: 1

Compression:

Stored size: 783 Bytes

Contents

<div class="span16">
  <h2>Authorize <%= @authorization.client.name %> to use your account?</h2>
</div>

<div class="span16">
  <%= form_tag authorization_path do %>
    <%= hidden_field_tag :client_id, @authorization.client_id %>
    <%= hidden_field_tag :redirect_uri, @authorization.redirect_uri %>
    <%= hidden_field_tag :response_type, @authorization.response_type %>
    <%= submit_tag "Authorize", :class => "btn primary" %> or
  <% end %>
  <%= form_tag authorization_path, :method => :delete do %>
    <%= hidden_field_tag :client_id, @authorization.client_id %>
    <%= hidden_field_tag :redirect_uri, @authorization.redirect_uri %>
    <%= hidden_field_tag :response_type, @authorization.response_type %>
    <%= button_tag "Deny", :class => "btn" %>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
doorkeeper-0.1.0 app/views/doorkeeper/authorizations/new.html.erb