From 46e64d51e426e4d4fdbce665216fd33624806b71 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Tue, 28 Jan 2014 16:15:09 -0300 Subject: [PATCH] rails3: output the result of form_tag --- app/views/account/activation_question.html.erb | 2 +- app/views/cms/_text_editor_sidebar.html.erb | 4 ++-- app/views/content_viewer/_comment_form.html.erb | 2 +- app/views/content_viewer/_confirm_unfollow.html.erb | 2 +- app/views/environment_role_manager/affiliate.html.erb | 2 +- app/views/manage_products/_manage_product_details.html.erb | 2 +- app/views/profile_editor/index.html.erb | 2 +- app/views/profile_members/affiliate.html.erb | 2 +- app/views/region_validators/region.html.erb | 2 +- app/views/search/_search_form.html.erb | 2 +- app/views/search/_sellers_form.html.erb | 2 +- app/views/shared/_profile_search_form.html.erb | 2 +- app/views/themes/add_image.html.erb | 2 +- app/views/themes/css_editor.html.erb | 2 +- app/views/themes/new.html.erb | 2 +- app/views/users/index.html.erb | 2 +- 16 files changed, 17 insertions(+), 17 deletions(-) diff --git a/app/views/account/activation_question.html.erb b/app/views/account/activation_question.html.erb index 9e89df3..554cbaa 100644 --- a/app/views/account/activation_question.html.erb +++ b/app/views/account/activation_question.html.erb @@ -24,7 +24,7 @@

<%= _('Enterprise activation') + ' - ' + (logged_in? ? _('part 1 of 2') : _('part 1 of 3')) %>

- <% form_tag( {:action => 'accept_terms'}, {:method => 'get', :onsubmit => (@question == :foundation_year ? 'return check_valid_year(this)' : 'return check_valid_cnpj(this)')}) do %> + <%= form_tag( {:action => 'accept_terms'}, {:method => 'get', :onsubmit => (@question == :foundation_year ? 'return check_valid_year(this)' : 'return check_valid_cnpj(this)')}) do %>

<%= _('Pay atention! You have only one chance!') %>

diff --git a/app/views/cms/_text_editor_sidebar.html.erb b/app/views/cms/_text_editor_sidebar.html.erb index cc6f79b..deb01b2 100644 --- a/app/views/cms/_text_editor_sidebar.html.erb +++ b/app/views/cms/_text_editor_sidebar.html.erb @@ -7,7 +7,7 @@
<%= _('Insert media') %>
- <% form_tag({ :action => 'media_upload' }, :multipart => true) do %> + <%= form_tag({ :action => 'media_upload' }, :multipart => true) do %>
<% default_folder = content_id_to_str default_folder_for_image_upload(profile) %> <%= select_profile_folder( @@ -34,7 +34,7 @@