Use content_tag helper.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9680 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-05-13 08:42:19 +00:00
parent dc7569ecae
commit 46400e355e
1 changed files with 1 additions and 1 deletions

View File

@ -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',
"<option></option>".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" },