<%= t'message.new.subject' %> |
diff --git a/app/views/oauth/oauthorize.html.erb b/app/views/oauth/oauthorize.html.erb
index 28178a85c..ffb403be1 100644
--- a/app/views/oauth/oauthorize.html.erb
+++ b/app/views/oauth/oauthorize.html.erb
@@ -1,6 +1,6 @@
Authorize access to your account
<%= t('oauth.oauthorize.request_access', :app_name => link_to(@token.client_application.name, @token.client_application.url), :user => link_to(@user.display_name, :controller => :user, :action => :view, :display_name => @user.display_name)) %>
-<% form_tag authorize_url do %>
+<%= form_tag authorize_url do %>
<%= hidden_field_tag "oauth_token", @token.token %>
<%- if params[:oauth_callback] -%>
<%= hidden_field_tag "oauth_callback", params[:oauth_callback] %>
diff --git a/app/views/oauth_clients/edit.html.erb b/app/views/oauth_clients/edit.html.erb
index 085ddef4e..bee1bd183 100644
--- a/app/views/oauth_clients/edit.html.erb
+++ b/app/views/oauth_clients/edit.html.erb
@@ -1,5 +1,5 @@
<%= t'oauth_clients.edit.title' %>
-<% form_for :client_application, @client_application, :url => oauth_client_path(@client_application.user.display_name, @client_application), :html => { :method => :put } do |f| %>
+<%= form_for :client_application, @client_application, :url => oauth_client_path(@client_application.user.display_name, @client_application), :html => { :method => :put } do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<%= submit_tag t'oauth_clients.edit.submit' %>
diff --git a/app/views/oauth_clients/index.html.erb b/app/views/oauth_clients/index.html.erb
index d95c68bcb..91c71f90b 100644
--- a/app/views/oauth_clients/index.html.erb
+++ b/app/views/oauth_clients/index.html.erb
@@ -6,11 +6,11 @@
<%= t'oauth_clients.index.application' %> |
<%= t'oauth_clients.index.issued_at' %> | |
<% @tokens.each do |token|%>
- <% content_tag_for :tr, token do %>
+ <%= 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 %>
+ <%= form_tag :controller => 'oauth', :action => 'revoke' do %>
<%= hidden_field_tag 'token', token.token %>
<%= submit_tag t('oauth_clients.index.revoke') %>
<% end %>
@@ -25,7 +25,7 @@
<% else %>
<%= t'oauth_clients.index.registered_apps' %>
<% @client_applications.each do |client|%>
- <% div_for client do %>
+ <%= div_for client do %>
<%= link_to client.name, :action => :show, :id => client.id %>
<% end %>
<% end %>
diff --git a/app/views/oauth_clients/new.html.erb b/app/views/oauth_clients/new.html.erb
index 292c53fc0..2cd748ac6 100644
--- a/app/views/oauth_clients/new.html.erb
+++ b/app/views/oauth_clients/new.html.erb
@@ -1,5 +1,5 @@
<%= t'oauth_clients.new.title' %>
-<% form_for :client_application, :url => { :action => :create } do |f| %>
+<%= form_for :client_application, :url => { :action => :create } do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<%= submit_tag t('oauth_clients.new.submit') %>
diff --git a/app/views/trace/create.html.erb b/app/views/trace/create.html.erb
index 4b168fab0..f4815a946 100644
--- a/app/views/trace/create.html.erb
+++ b/app/views/trace/create.html.erb
@@ -2,7 +2,7 @@
<%= error_messages_for 'trace' %>
-<% form_for :trace, @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %>
+<%= form_for :trace, @trace, :url => { :action => "create" }, :html => { :multipart => true } do |f| %>
<%= t'trace.trace_form.upload_gpx' %> | <%= f.file_field :gpx_file, :size => 50, :maxlength => 255 %> |
<%= t'trace.trace_form.description' %> | <%= f.text_field :description, :size => 50, :maxlength => 255 %> |
diff --git a/app/views/trace/edit.html.erb b/app/views/trace/edit.html.erb
index 202f9039d..e1382a1be 100644
--- a/app/views/trace/edit.html.erb
+++ b/app/views/trace/edit.html.erb
@@ -2,7 +2,7 @@
-<% form_for :trace, @trace do |f| %>
+<%= form_for :trace, @trace do |f| %>
diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb
index bdc52fb8c..606e8c358 100644
--- a/app/views/user/account.html.erb
+++ b/app/views/user/account.html.erb
@@ -1,6 +1,6 @@
<%= t 'user.account.my settings' %>
<%= error_messages_for 'user' %>
-<% form_for :user, :html => { :multipart => true } do |f| %>
+<%= form_for :user, :html => { :multipart => true } do |f| %>
|