1 <% content_for :heading do %>
2 <h1><%= t(".title", :app_name => @client_application.name) %></h1>
5 <%= render :partial => "settings_menu" %>
8 <dt class="col-sm-3"><%= t ".key" %></dt>
9 <dd class="col-sm-9"><%= @client_application.key %></dt>
10 <dt class="col-sm-3"><%= t ".secret" %></dt>
11 <dd class="col-sm-9"><%= @client_application.secret %></dd>
12 <dt class="col-sm-3"><%= t ".url" %></dt>
13 <dd class="col-sm-9">http<%= "s" if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.request_token_path %></dd>
14 <dt class="col-sm-3"><%= t ".access_url" %></dt>
15 <dd class="col-sm-9">http<%= "s" if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.access_token_path %></dd>
16 <dt class="col-sm-3"><%= t ".authorize_url" %></dt>
17 <dd class="col-sm-9">http<%= "s" if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.authorize_path %></dd>
21 <p><%= t ".requests" %></p>
23 <% @client_application.permissions.each do |perm| %>
24 <li><%= t("activerecord.attributes.client_application.#{perm}") %></li>
27 <p><%= t ".support_notice" %></p>
31 <%= link_to t(".edit"), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get, :class => "btn btn-outline-primary" %>
32 <%= link_to t(".delete"), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :data => { :confirm => t(".confirm") }, :class => "btn btn-outline-danger" %>