<%= error_messages_for 'diary_entry' %>
-<% form_for :diary_entry do |f| %>
+<%= form_for :diary_entry do |f| %>
<table class="diary_entry">
<tr valign="top">
<td class="fieldName"><%= t 'diary_entry.edit.subject' -%></td>
<%= error_messages_for 'diary_comment' %>
- <% form_for :diary_comment, @diary_comment, :url => { :action => 'comment' } do |f| %>
+ <%= form_for :diary_comment, @diary_comment, :url => { :action => 'comment' } do |f| %>
<%= f.text_area :body, :cols => 80, :rows => 5 %>
<br />
<br />
-<% form_tag :action => "finish" do %>
+<%= form_tag :action => "finish" do %>
<p class="export_heading"><%= t'export.start.area_to_export' %></p>
<%= error_messages_for 'message' %>
-<% form_for :message, :url => { :action => "new", :display_name => @to_user.display_name } do |f| %>
+<%= form_for :message, :url => { :action => "new", :display_name => @to_user.display_name } do |f| %>
<table>
<tr valign="top">
<td class="fieldName"><%= t'message.new.subject' %></td>
<h1>Authorize access to your account</h1>
<p><%= 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)) %></p>
-<% 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] %>
<h1><%= t'oauth_clients.edit.title' %></h1>
-<% 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 } %>
<br/>
<%= submit_tag t'oauth_clients.edit.submit' %>
<tr><th><%= t'oauth_clients.index.application' %></th>
<th><%= t'oauth_clients.index.issued_at' %></th><th> </th></tr>
<% @tokens.each do |token|%>
- <% content_tag_for :tr, token do %>
+ <%= 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 %>
+ <%= form_tag :controller => 'oauth', :action => 'revoke' do %>
<%= hidden_field_tag 'token', token.token %>
<%= submit_tag t('oauth_clients.index.revoke') %>
<% end %>
<% else %>
<p><%= t'oauth_clients.index.registered_apps' %></p>
<% @client_applications.each do |client|%>
- <% div_for client do %>
+ <%= div_for client do %>
<%= link_to client.name, :action => :show, :id => client.id %>
<% end %>
<% end %>
<h1><%= t'oauth_clients.new.title' %></h1>
-<% form_for :client_application, :url => { :action => :create } do |f| %>
+<%= form_for :client_application, :url => { :action => :create } do |f| %>
<%= render :partial => "form", :locals => { :f => f } %>
<br />
<%= submit_tag t('oauth_clients.new.submit') %>
<%= 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| %>
<table>
<tr><td class="fieldName"><%= t'trace.trace_form.upload_gpx' %></td><td><%= f.file_field :gpx_file, :size => 50, :maxlength => 255 %></td></tr>
<tr><td class="fieldName"><%= t'trace.trace_form.description' %></td><td><%= f.text_field :description, :size => 50, :maxlength => 255 %></td></tr>
<img src="<%= url_for :controller => 'trace', :action => 'picture', :id => @trace.id, :display_name => @trace.user.display_name %>">
-<% form_for :trace, @trace do |f| %>
+<%= form_for :trace, @trace do |f| %>
<table border="0">
<tr>
<h2><%= t 'user.account.my settings' %></h2>
<%= error_messages_for 'user' %>
-<% form_for :user, :html => { :multipart => true } do |f| %>
+<%= form_for :user, :html => { :multipart => true } do |f| %>
<table id="accountForm">
<tr>
<td class="fieldName"><%= t 'user.new.display name' %></td>
<h1><%= t('user.list.heading') %></h1>
<% unless @users.empty? %>
- <% form_tag do %>
+ <%= form_tag do %>
<%= hidden_field_tag :status, params[:status] if params[:status] %>
<%= hidden_field_tag :ip, params[:ip] if params[:ip] %>
<%= hidden_field_tag :page, params[:page] if params[:page] %>
<div id="login_login">
<h1><%= t 'user.login.heading' %></h1>
- <% form_tag({ :action => "login" }, { :id => "login_form" }) do %>
+ <%= form_tag({ :action => "login" }, { :id => "login_form" }) do %>
<%= hidden_field_tag('referer', h(params[:referer])) %>
<p><%= t 'user.login.with username' %></p>
<h1><%= t 'user.logout.heading' %></h1>
-<% form_tag :action => "logout" do %>
+<%= form_tag :action => "logout" do %>
<%= hidden_field_tag("referer", h(params[:referer])) %>
<%= hidden_field_tag("session", request.session_options[:id]) %>
<%= submit_tag t('user.logout.logout_button') %>
<p><%= t 'user.lost_password.help_text' %></p>
-<% form_tag :action => 'lost_password' do %>
+<%= form_tag :action => 'lost_password' do %>
<table>
<tr>
<td class="fieldName"><%= t 'user.lost_password.email address' %></td>
<%= error_messages_for 'user' %>
-<% form_tag :action => 'terms' do %>
+<%= form_tag :action => 'terms' do %>
<%= hidden_field_tag('referer', h(@referer)) unless @referer.nil? %>
<table id="signupForm">
<%= error_messages_for :user %>
-<% form_tag do %>
+<%= form_tag do %>
<%= hidden_field_tag(:token, params[:token]) %>
<table id="loginForm">
<tr><td class="fieldName"><%= t 'user.reset_password.password' %></td><td><%= password_field(:user, :pass_crypt, {:value => '', :size => 30, :maxlength => 255, :tabindex => 4}) %></td></tr>
<p><%= t 'user.terms.read and accept' %></p>
<!-- legale is <%= @legale %> -->
-<% form_tag :action => 'terms' do %>
+<%= form_tag :action => 'terms' do %>
<p>
<%= t 'user.terms.legale_select' %>
<% [['france', 'FR'], ['italy', 'IT'], ['rest_of_world', 'GB']].each do |name,legale| %>
<%= render :partial => "terms" %>
</div>
-<% form_tag({:action => "save"}, { :id => "termsForm" }) do %>
+<%= form_tag({:action => "save"}, { :id => "termsForm" }) do %>
<p>
<label for="confirm_pd_checkbox"><%= t 'user.terms.consider_pd' %></label>
<%= check_box('user', 'consider_pd') %>
h(@user_block.user.display_name),
{:controller => 'user', :action => 'view', :display_name => @user_block.user.display_name})) %></h1>
-<% form_for(@user_block) do |f| %>
+<%= form_for(@user_block) do |f| %>
<%= f.error_messages %>
<p>
h(@this_user.display_name),
{:controller => 'user', :action => 'view', :display_name => @this_user.display_name})) %></h1>
-<% form_for(@user_block) do |f| %>
+<%= form_forevxr(@user_block) do |f| %>
<%= f.error_messages %>
<p>
<%= t('user_block.revoke.time_future', :time => distance_of_time_in_words_to_now(@user_block.ends_at)) %>
</b></p>
-<% form_for :revoke, :url => { :action => "revoke" } do |f| %>
+<%= form_for :revoke, :url => { :action => "revoke" } do |f| %>
<%= f.error_messages %>
<p>
<%= check_box_tag 'confirm', 'yes' %>
-<% form_tag request.request_uri do %>
+<%= form_tag request.request_uri do %>
<%= hidden_field_tag 'nonce', @nonce %>
<% @title = t('user_role.grant.heading') %>
<h1><%= t('user_role.grant.heading') %></h1>
-<% form_tag request.request_uri do %>
+<%= form_tag request.request_uri do %>
<%= hidden_field_tag 'nonce', @nonce %>
<% @title = t('user_role.revoke.heading') %>
<h1><%= t('user_role.revoke.heading') %></h1>