.flash= flash %h1 OAuth
Client Applications
-
unless @tokens.empty?
%p
The following tokens have been issued to applications in your name
%table
%tr %th Application %th Issued %th - @tokens.each do |token| - content_tag_for :tr, token do %td= link_to token.client_application.name, token.client_application.url %td= token.authorized_at %td - form_tag :controller => 'oauth', :action => 'revoke' do = hidden_field_tag 'token', token.token = submit_tag "Revoke!"
%h3 Application Developers
-
if @client_applications.empty? %p
Do you have an application you would like to register for use with us using the <a href="http://oauth.net">OAuth</a> standard? You must register your web application before it can make OAuth requests to this service
-
else %p
You have the following client applications registered:
%br %h3
= link_to "Register your application", :action => :new