]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth_clients/index.html.erb
Whitespace fixes for errors erb files
[rails.git] / app / views / oauth_clients / index.html.erb
index 64a316718a9f709239c360779cd5ef4f40be3918..f61048f7253a56bec2766d47ab96c1876c1d6a66 100644 (file)
@@ -8,15 +8,15 @@
 <table>
   <tr><th><%= t '.application' %></th>
     <th><%= t '.issued_at' %></th><th>&nbsp;</th></tr>
-  <% @tokens.each do |token|%>
+  <% @tokens.each do |token| %>
     <%= content_tag_for :tr, token do %>
       <td><%= link_to token.client_application.name, token.client_application.url %></td>
       <td><%= token.authorized_at %></td>
       <td>
-       <%= 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 %>
       </td>
     <% end %>
   <% end %>
@@ -27,7 +27,7 @@
 <p><%= raw(t('.no_apps', :oauth => "<a href=\"https://oauth.net\">OAuth</a>")) %></p>
 <% else %>
 <p><%= t '.registered_apps' %></p>
-<% @client_applications.each do |client|%>
+<% @client_applications.each do |client| %>
   <%= div_for client do %>
     <%= link_to client.name, :action => :show, :id => client.id %>
   <% end %>