Sha256: 95a3a1f1df1bd35846baf22f6e4724077c2fdd3f41bca0e8ca0c4b445cd7fe30

Contents?: true

Size: 1020 Bytes

Versions: 11

Compression:

Stored size: 1020 Bytes

Contents

<div class="page-header">
  <h1>Application: <%= @application.name %></h1>
</div>

<div class="row">
  <div class="col-md-8">
    <h4>Application Id:</h4>

    <p><code id="application_id"><%= @application.uid %></code></p>

    <h4>Secret:</h4>

    <p><code id="secret"><%= @application.secret %></code></p>

    <h4>Callback urls:</h4>

    <table>
      <% @application.redirect_uri.split.each do |uri| %>
        <tr>
          <td>
            <code><%= uri %></code>
          </td>
          <td>
            <%= link_to 'Authorize', oauth_authorization_path(client_id: @application.uid, redirect_uri: uri, response_type: 'code'), class: 'btn btn-success', target: '_blank' %>
          </td>
        </tr>
      <% end %>
    </table>
  </div>

  <div class="col-md-4">
    <h3>Actions</h3>

    <p><%= link_to 'Edit', edit_oauth_application_path(@application), class: 'btn btn-primary' %></p>

    <p><%= render 'delete_form', application: @application, submit_btn_css: 'btn btn-danger' %></p>
  </div>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
doorkeeper-1.4.2 app/views/doorkeeper/applications/show.html.erb
doorkeeper-2.0.1 app/views/doorkeeper/applications/show.html.erb
doorkeeper-1.4.1 app/views/doorkeeper/applications/show.html.erb
doorkeeper-2.0.0 app/views/doorkeeper/applications/show.html.erb
doorkeeper-2.0.0.rc3 app/views/doorkeeper/applications/show.html.erb
doorkeeper-2.0.0.rc2 app/views/doorkeeper/applications/show.html.erb
doorkeeper-2.0.0.alpha1 app/views/doorkeeper/applications/show.html.erb
doorkeeper-1.4.0 app/views/doorkeeper/applications/show.html.erb
doorkeeper-1.3.1 app/views/doorkeeper/applications/show.html.erb
doorkeeper-1.3.0 app/views/doorkeeper/applications/show.html.erb
doorkeeper-1.2.0 app/views/doorkeeper/applications/show.html.erb