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:
parent
dc7569ecae
commit
46400e355e
|
@ -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" },
|
||||
|
|
Loading…
Reference in New Issue