From 46400e355efea3c7b2ab0bd6294448fb8c750b79 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 13 May 2012 08:42:19 +0000 Subject: [PATCH] Use content_tag helper. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9680 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/my/page_layout.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/my/page_layout.html.erb b/app/views/my/page_layout.html.erb index 0025186d9..8b6c2e8dd 100644 --- a/app/views/my/page_layout.html.erb +++ b/app/views/my/page_layout.html.erb @@ -38,7 +38,7 @@ function removeBlock(block) { <%= form_tag({:action => "add_block"}, :id => "block-form") do %> <%= label_tag('block-select', l(:label_my_page_block)) %>: <%= select_tag 'block', - "".html_safe + options_for_select(@block_options), + content_tag('option') + options_for_select(@block_options), :id => "block-select" %> <%= link_to_remote l(:button_add), {:url => { :action => "add_block" },