1 <% content_for :heading do %>
2 <h1><%= t('oauth_clients.show.title', :app_name => @client_application.name) %></h1>
5 <b><%= t'oauth_clients.show.key' %></b> <%=@client_application.key %>
8 <b><%= t'oauth_clients.show.secret' %></b> <%=@client_application.secret %>
11 <b><%= t'oauth_clients.show.url' %></b> http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.request_token_path %>
14 <b><%= t'oauth_clients.show.access_url' %></b> http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.access_token_path %>
17 <b><%= t'oauth_clients.show.authorize_url' %></b> http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.authorize_path %>
20 <p><%= t'oauth_clients.show.requests' %></p>
21 <ul><% @client_application.permissions.each do |perm| %>
23 <li><%= t('oauth_clients.form.' + perm.to_s) %></li>
27 <p><%= t'oauth_clients.show.support_notice' %></p>
31 <td><%= button_to t('oauth_clients.show.edit'), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get %></td>
32 <td><%= button_to t('oauth_clients.show.delete'), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :data => { :confirm => t('oauth_clients.show.confirm') } %></td>