diff --git a/app/views/account/accept_terms.html.erb b/app/views/account/accept_terms.html.erb index 7a03f64..dfc4ab2 100644 --- a/app/views/account/accept_terms.html.erb +++ b/app/views/account/accept_terms.html.erb @@ -15,7 +15,7 @@
<%= @terms_of_enterprise_use %>
- <% form_tag :action => 'activate_enterprise' do %> + <%= form_tag :action => 'activate_enterprise' do %> <%= hidden_field_tag :enterprise_code, params[:enterprise_code] %> <%= hidden_field_tag :answer, params[:answer] %> diff --git a/app/views/account/change_password.html.erb b/app/views/account/change_password.html.erb index 9993cae..0c4e2cc 100644 --- a/app/views/account/change_password.html.erb +++ b/app/views/account/change_password.html.erb @@ -1,6 +1,6 @@

<%= _('Change password') %>

-<% form_tag do %> +<%= form_tag do %>


<%= password_field_tag :current_password %>

diff --git a/app/views/account/forgot_password.html.erb b/app/views/account/forgot_password.html.erb index 2aa98ea..3975daf 100644 --- a/app/views/account/forgot_password.html.erb +++ b/app/views/account/forgot_password.html.erb @@ -2,7 +2,7 @@ <%= error_messages_for :change_password, :header_message => _('Instructions to password recovery could not be sent'), :message => nil %> -<% form_tag do %> +<%= form_tag do %> <%= labelled_form_field fields_label, text_field_tag(:value) %>
diff --git a/app/views/admin_panel/set_portal_community.html.erb b/app/views/admin_panel/set_portal_community.html.erb index 476f4ea..03dd6f2 100644 --- a/app/views/admin_panel/set_portal_community.html.erb +++ b/app/views/admin_panel/set_portal_community.html.erb @@ -1,7 +1,7 @@

<%= _('Set Environment Portal') %>

<% if @portal_community.new_record? %> - <% form_tag do %> + <%= form_tag do %> <%= labelled_form_field(_('Portal identifier'), text_field_tag('portal_community_identifier', @portal_community.identifier, :size => 40) ) %> <% button_bar do %> diff --git a/app/views/admin_panel/set_portal_folders.html.erb b/app/views/admin_panel/set_portal_folders.html.erb index 2b4692c..a3f0aaa 100644 --- a/app/views/admin_panel/set_portal_folders.html.erb +++ b/app/views/admin_panel/set_portal_folders.html.erb @@ -28,7 +28,7 @@ <%= button :up, _('Remove'), '#', { :id => 'remove' } %>
-<% form_tag do %> +<%= form_tag do %>
<%= labelled_form_field(_('Portal folders'), select_tag( 'folders[]', options_from_collection_for_select(@selected, :id, :name, nil), {:id => 'selected-folders', :multiple => true, :size => 6 })) %>
diff --git a/app/views/box_organizer/add_block.html.erb b/app/views/box_organizer/add_block.html.erb index 70370cf..f086512 100644 --- a/app/views/box_organizer/add_block.html.erb +++ b/app/views/box_organizer/add_block.html.erb @@ -1,5 +1,5 @@
- <% form_tag do %> + <%= form_tag do %>

<%= _('In what area do you want to put your new block?') %>

diff --git a/app/views/cms/publish.html.erb b/app/views/cms/publish.html.erb index d7cfc99..5e6c115 100644 --- a/app/views/cms/publish.html.erb +++ b/app/views/cms/publish.html.erb @@ -14,7 +14,7 @@
<% end %> -<% form_tag do%> +<%= form_tag do%> <%= hidden_field_tag :back_to, @back_to %> <% @groups.each do |group| %> <%= labelled_check_box group.name, "marked_groups[#{group.id}][group_id]", group.id, @marked_groups.include?(group) %>
diff --git a/app/views/cms/publish_on_portal_community.html.erb b/app/views/cms/publish_on_portal_community.html.erb index 54d5cef..3bb375b 100644 --- a/app/views/cms/publish_on_portal_community.html.erb +++ b/app/views/cms/publish_on_portal_community.html.erb @@ -1,7 +1,7 @@ <% if environment.portal_community %>

<%= _("Publish your article on portal community") %>

- <% form_tag do%> + <%= form_tag do%> <%= hidden_field_tag :back_to, @back_to %> <%= labelled_text_field _('Title') + ': ', :name, @article.name, :style => 'width: 100%' %> diff --git a/app/views/enterprise_registration/select_validator.html.erb b/app/views/enterprise_registration/select_validator.html.erb index 6603527..bfbb448 100644 --- a/app/views/enterprise_registration/select_validator.html.erb +++ b/app/views/enterprise_registration/select_validator.html.erb @@ -4,7 +4,7 @@ <%= _('Select one organization to validate your enterprise registration request. Check the provided information about their validation methodoly and criteria.') %>

-<% form_tag do %> +<%= form_tag do %> <%= render :partial => 'hidden_fields' %> diff --git a/app/views/enterprise_validation/details.html.erb b/app/views/enterprise_validation/details.html.erb index 7fe9d27..803fb18 100644 --- a/app/views/enterprise_validation/details.html.erb +++ b/app/views/enterprise_validation/details.html.erb @@ -14,7 +14,7 @@

<%= _('If this enterprise passes the criteria to be considered an solidarity enconomy enterprise, you can approve it by click the button below.') %>

-<% form_tag :action => 'approve', :id => @pending.code do %> +<%= form_tag :action => 'approve', :id => @pending.code do %> <% button_bar do %> <%= submit_button('approve', _('Approve')) %> <% end %> @@ -24,7 +24,7 @@

<%= _('If this enterprise does not pass the criteria do be considered, use this form.') %>

-<% form_tag :action => 'reject', :id => @pending.code do %> +<%= form_tag :action => 'reject', :id => @pending.code do %> <%= labelled_form_field(_('Please provide an explanation for the rejection. This explanation will be sent to the requestor (required).'), text_area_tag('reject_explanation'))%>
<% button_bar do %> diff --git a/app/views/favorite_enterprises/add.html.erb b/app/views/favorite_enterprises/add.html.erb index 90bd323..6420578 100644 --- a/app/views/favorite_enterprises/add.html.erb +++ b/app/views/favorite_enterprises/add.html.erb @@ -4,7 +4,7 @@ <%= _('Are you sure you want to add %s as your favorite enterprise?') % @favorite_enterprise.name %>

-<% form_tag do %> +<%= form_tag do %> <%= hidden_field_tag(:confirmation, 1) %> <%= submit_button(:ok, _("Yes, I am sure"), :title => _("I want to add %s as a favorite enterprise") % @favorite_enterprise.name) %> diff --git a/app/views/favorite_enterprises/remove.html.erb b/app/views/favorite_enterprises/remove.html.erb index 3b5fa43..20c9ce1 100644 --- a/app/views/favorite_enterprises/remove.html.erb +++ b/app/views/favorite_enterprises/remove.html.erb @@ -8,7 +8,7 @@ <%= _('Are you sure you want to remove %s from your favorite enterprise list?') % @favorite_enterprise.name %>

-<% form_tag do %> +<%= form_tag do %> <%= hidden_field_tag(:confirmation, 1) %> <%= submit_button(:ok, _("Yes, I want to remove %s from my favorite enterprise list") % @favorite_enterprise.name) %> diff --git a/app/views/friends/remove.html.erb b/app/views/friends/remove.html.erb index b5213e7..1139b0b 100644 --- a/app/views/friends/remove.html.erb +++ b/app/views/friends/remove.html.erb @@ -14,7 +14,7 @@

-<% form_tag do %> +<%= form_tag do %> <%= hidden_field_tag(:confirmation, 1) %> <%= submit_button(:ok, _("Yes") % @friend.name) %> diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 748d226..44eb861 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -54,7 +54,7 @@ <% if environment.enabled?('search_in_home') %>