X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5bed2178231b783176551d21734d23b7a32f0d16..e3470746bf98f7985d6176ffa85f99febc4b3c34:/app/views/oauth_clients/index.html.erb diff --git a/app/views/oauth_clients/index.html.erb b/app/views/oauth_clients/index.html.erb index 64a316718..f61048f72 100644 --- a/app/views/oauth_clients/index.html.erb +++ b/app/views/oauth_clients/index.html.erb @@ -8,15 +8,15 @@ - <% @tokens.each do |token|%> + <% @tokens.each do |token| %> <%= content_tag_for :tr, token do %> <% end %> <% end %> @@ -27,7 +27,7 @@

<%= raw(t('.no_apps', :oauth => "OAuth")) %>

<% else %>

<%= t '.registered_apps' %>

-<% @client_applications.each do |client|%> +<% @client_applications.each do |client| %> <%= div_for client do %> <%= link_to client.name, :action => :show, :id => client.id %> <% end %>
<%= t '.application' %> <%= t '.issued_at' %> 
<%= link_to token.client_application.name, token.client_application.url %> <%= token.authorized_at %> - <%= form_tag :controller => 'oauth', :action => 'revoke' do %> - <%= hidden_field_tag 'token', token.token %> - <%= submit_tag t('.revoke') %> - <% end %> + <%= form_tag :controller => 'oauth', :action => 'revoke' do %> + <%= hidden_field_tag 'token', token.token %> + <%= submit_tag t('.revoke') %> + <% end %>