1 <% content_for :heading do %>
2 <h1><%= t(".title", :app_name => @client_application.name) %></h1>
6 <strong><%= t ".key" %></strong> <%= @client_application.key %>
9 <strong><%= t ".secret" %></strong> <%= @client_application.secret %>
12 <strong><%= t ".url" %></strong> http<%= "s" if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.request_token_path %>
15 <strong><%= t ".access_url" %></strong> http<%= "s" if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.access_token_path %>
18 <strong><%= t ".authorize_url" %></strong> http<%= "s" if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.authorize_path %>
21 <p><%= t ".requests" %></p>
22 <ul><% @client_application.permissions.each do |perm| %>
24 <li><%= t("oauth_clients.form." + perm.to_s) %></li>
28 <p><%= t ".support_notice" %></p>
31 <%= button_to t(".edit"), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get, :class => "oauth-edit" %>
32 <%= button_to t(".delete"), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :data => { :confirm => t(".confirm") }, :class => "oauth-delete deemphasize" %>