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 @@
<%= t '.application' %> |
<%= t '.issued_at' %> | |
- <% @tokens.each do |token|%>
+ <% @tokens.each do |token| %>
<%= content_tag_for :tr, token do %>
<%= 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 %>
|
<% 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 %>
diff --git a/app/views/oauth_clients/show.html.erb b/app/views/oauth_clients/show.html.erb
index 200fbc7be..55fffd482 100644
--- a/app/views/oauth_clients/show.html.erb
+++ b/app/views/oauth_clients/show.html.erb
@@ -3,19 +3,19 @@
<% end %>
- <%= t '.key' %> <%=@client_application.key %>
+ <%= t '.key' %> <%= @client_application.key %>
- <%= t '.secret' %> <%=@client_application.secret %>
+ <%= t '.secret' %> <%= @client_application.secret %>
- <%= t '.url' %> http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.request_token_path %>
+ <%= t '.url' %> http<%= 's' if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.request_token_path %>
- <%= t '.access_url' %> http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.access_token_path %>
+ <%= t '.access_url' %> http<%= 's' if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.access_token_path %>
- <%= t '.authorize_url' %> http<%='s' if request.ssl? %>://<%= request.host_with_port %><%=@client_application.oauth_server.authorize_path %>
+ <%= t '.authorize_url' %> http<%= 's' if request.ssl? %>://<%= request.host_with_port %><%= @client_application.oauth_server.authorize_path %>
<%= t '.requests' %>
@@ -28,6 +28,6 @@
<%= t '.support_notice' %>
- <%= button_to t('.edit'), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get, :class=> "oauth-edit" %>
- <%= button_to t('.delete'), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :data => { :confirm => t('.confirm') }, :class=> "oauth-delete deemphasize" %>
+ <%= button_to t('.edit'), edit_oauth_client_path(@client_application.user.display_name, @client_application), :method => :get, :class => "oauth-edit" %>
+ <%= button_to t('.delete'), oauth_client_path(@client_application.user.display_name, @client_application), :method => :delete, :data => { :confirm => t('.confirm') }, :class => "oauth-delete deemphasize" %>