- <% form_tag :controller => 'search', :action => 'index' do %>
+ <%= form_tag :controller => 'search', :action => 'index' do %>
<%= text_field_tag('query', '', :size => 50) %>
diff --git a/app/views/invite/select_address_book.html.erb b/app/views/invite/select_address_book.html.erb
index 64b348c..3286718 100644
--- a/app/views/invite/select_address_book.html.erb
+++ b/app/views/invite/select_address_book.html.erb
@@ -6,7 +6,7 @@
<%= _('Step 1 of 2: Select address book') %>
-<% form_tag do %>
+<%= form_tag do %>
<%= [
radio_button_tag(:import_from, "manual", @import_from == "manual", :onclick => 'hide_invite_friend_login_password()') + content_tag('label', _('Manually (empty field)'), :for => "import_from_manual"),
diff --git a/app/views/invite/select_friends.html.erb b/app/views/invite/select_friends.html.erb
index 721a377..2554345 100644
--- a/app/views/invite/select_friends.html.erb
+++ b/app/views/invite/select_friends.html.erb
@@ -15,7 +15,7 @@
<%= _('Indicate which friends you want to invite.') %>
-<% form_tag do %>
+<%= form_tag do %>
<%= hidden_field_tag(:import_from, @import_from) %>
<%= hidden_field_tag(:contact_list, @contact_list.id) %>
diff --git a/app/views/profile/join.html.erb b/app/views/profile/join.html.erb
index 1ad934d..a836f75 100644
--- a/app/views/profile/join.html.erb
+++ b/app/views/profile/join.html.erb
@@ -4,7 +4,7 @@
<%= _('Are you sure you want to join %s?') % profile.name %>
-<% form_tag do %>
+<%= form_tag do %>
<%= hidden_field_tag('back_to', @back_to) %>
<%= hidden_field_tag(:confirmation, 1) %>
<%= submit_button(:ok, _("Yes, I want to join.") % profile.name) %>
diff --git a/app/views/profile/leave.html.erb b/app/views/profile/leave.html.erb
index 45ffc59..a1f3433 100644
--- a/app/views/profile/leave.html.erb
+++ b/app/views/profile/leave.html.erb
@@ -4,7 +4,7 @@
<%= _('Are you sure you want to leave %s?') % profile.name %>
-<% form_tag do %>
+<%= form_tag do %>
<%= hidden_field_tag(:confirmation, 1) %>
<%= hidden_field_tag(:back_to, @back_to) %>
<%= submit_button(:ok, _("Yes, I want to leave.") % profile.name) %>
diff --git a/app/views/profile_editor/disable.html.erb b/app/views/profile_editor/disable.html.erb
index 575c96c..ac710f2 100644
--- a/app/views/profile_editor/disable.html.erb
+++ b/app/views/profile_editor/disable.html.erb
@@ -4,7 +4,7 @@
<%= _('Are you sure you want to disable %s?') % @to_disable.name %>
-<% form_tag do %>
+<%= form_tag do %>
<%= hidden_field_tag(:confirmation, 1) %>
<%= submit_button(:ok, _("Yes, I want to disable.")) %>
<%= button(:cancel, _("No, I don't want."), :action => 'index') %>
diff --git a/app/views/profile_editor/enable.html.erb b/app/views/profile_editor/enable.html.erb
index 1852691..2429cd7 100644
--- a/app/views/profile_editor/enable.html.erb
+++ b/app/views/profile_editor/enable.html.erb
@@ -4,7 +4,7 @@
<%= _('Are you sure you want to enable %s?') % @to_enable.name %>
-<% form_tag do %>
+<%= form_tag do %>
<%= hidden_field_tag(:confirmation, 1) %>
<%= submit_button(:ok, _("Yes, I want to enable.")) %>
<%= button(:cancel, _("No, I don't want."), :action => 'index') %>
diff --git a/app/views/profile_editor/header_footer.html.erb b/app/views/profile_editor/header_footer.html.erb
index 6ee70c7..643ff57 100644
--- a/app/views/profile_editor/header_footer.html.erb
+++ b/app/views/profile_editor/header_footer.html.erb
@@ -2,7 +2,7 @@
<%= _('Editing header and footer') %>
-<% form_tag do %>
+<%= form_tag do %>
<% if environment.enabled?('display_header_footer_explanation') %>
diff --git a/app/views/profile_members/_manage_roles.html.erb b/app/views/profile_members/_manage_roles.html.erb
index 4d04d89..cc41e79 100644
--- a/app/views/profile_members/_manage_roles.html.erb
+++ b/app/views/profile_members/_manage_roles.html.erb
@@ -1,4 +1,4 @@
-<% form_tag :action => 'save_associations' do %>
+<%= form_tag :action => 'save_associations' do %>
<% @roles.each do |role|%>
<%= content_tag('p', content_tag('b', role.name.pluralize+':'), :style => 'margin-top: 30px; margin-bottom: 0px;') %>
<%= text_field_tag('q_'+role.key, nil, :id => 'search_'+role.key) %>
diff --git a/app/views/region_validators/_search.html.erb b/app/views/region_validators/_search.html.erb
index 649df23..d10ce23 100644
--- a/app/views/region_validators/_search.html.erb
+++ b/app/views/region_validators/_search.html.erb
@@ -3,7 +3,7 @@
<% for item in @search %>
<%= item.name %>
- <% form_tag :action => 'add', :id => @region do %>
+ <%= form_tag :action => 'add', :id => @region do %>
<%= hidden_field_tag :validator_id, item.id %>
<% button_bar do %>
<%= submit_button('add', _('Add')) %>
diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb
index 7572a0e..6f82fe4 100644
--- a/app/views/tasks/index.html.erb
+++ b/app/views/tasks/index.html.erb
@@ -28,7 +28,7 @@
<%= _('No pending tasks for %s') % profile.name %>
<% else %>
- <% form_tag :action => 'close' do%>
+ <%= form_tag :action => 'close' do%>
<% button_bar do %>
<%# FiXME button(:edit, _('View my requests'), :action => 'list_requested') %>
<%# FIXME button('menu-mail', _('Send request'), :action => 'new') %>
diff --git a/app/views/templates/_create_template_form.html.erb b/app/views/templates/_create_template_form.html.erb
index 773ff84..49fe4dc 100644
--- a/app/views/templates/_create_template_form.html.erb
+++ b/app/views/templates/_create_template_form.html.erb
@@ -8,7 +8,7 @@
<% end %>
-<% form_tag do %>
+<%= form_tag do %>
<%= labelled_text_field(_('Name')+': ', :name)%>
<% button_bar do %>
diff --git a/app/views/themes/add_css.html.erb b/app/views/themes/add_css.html.erb
index 0517856..1f5d28e 100644
--- a/app/views/themes/add_css.html.erb
+++ b/app/views/themes/add_css.html.erb
@@ -1,6 +1,6 @@
<%= _('Add a CSS file') %>
-<% form_tag do %>
+<%= form_tag do %>
<%= labelled_form_field(_('File name'), text_field_tag('css')) %>
<% button_bar do %>
diff --git a/app/views/trusted_sites/edit.html.erb b/app/views/trusted_sites/edit.html.erb
index 5834a2b..80dabd5 100644
--- a/app/views/trusted_sites/edit.html.erb
+++ b/app/views/trusted_sites/edit.html.erb
@@ -1,6 +1,6 @@
<%= _("Editing trusted site") %>
-<% form_tag :action => :update do %>
+<%= form_tag :action => :update do %>
<%= text_field_tag :site, @site %>
<%= hidden_field_tag :orig_site, @site %>
diff --git a/app/views/trusted_sites/new.html.erb b/app/views/trusted_sites/new.html.erb
index d64c8ab..bc45b3c 100644
--- a/app/views/trusted_sites/new.html.erb
+++ b/app/views/trusted_sites/new.html.erb
@@ -1,6 +1,6 @@
<%= _("Add a new trusted site") %>
-<% form_tag :action => :create do %>
+<%= form_tag :action => :create do %>
<%= text_field_tag :site, @site %>
--
libgit2 0.21.2