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 @@