| 
    <%= application.name %>
   | 
  
    
      <% application.authorized_scopes_for(current_user).each do |scope| -%>
        - <%= authorization_scope(scope) %>
 
      <% end -%>
     
   | 
  
    <%= friendly_date_ago(application.authorized_tokens.where(:resource_owner_id => current_user).maximum(:created_at)) %>
   | 
  
    <%= link_to t(".revoke"), oauth_authorized_application_path(application), { :method => :delete, :class => "btn btn-outline-danger", :data => { :confirm => t(".confirm_revoke") } } %>
   |