- <p><%= t '.requests' %></p>
- <ul><% @client_application.permissions.each do |perm| %>
- <div class="field">
- <li><%= t('oauth_clients.form.' + perm.to_s) %></li>
- </div>
- <% end %></ul>
+<dl class="row">
+ <dt class="col-sm-3"><%= t ".key" %></dt>
+ <dd class="col-sm-9"><%= @client_application.key %></dt>
+ <dt class="col-sm-3"><%= t ".secret" %></dt>
+ <dd class="col-sm-9"><%= @client_application.secret %></dd>
+ <dt class="col-sm-3"><%= t ".url" %></dt>
+ <dd class="col-sm-9">http<%= "s" if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.request_token_path %></dd>
+ <dt class="col-sm-3"><%= t ".access_url" %></dt>
+ <dd class="col-sm-9">http<%= "s" if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.access_token_path %></dd>
+ <dt class="col-sm-3"><%= t ".authorize_url" %></dt>
+ <dd class="col-sm-9">http<%= "s" if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.authorize_path %></dd>
+</dl>