##// END OF EJS Templates
Use content_tag helper....
Jean-Philippe Lang -
r9497:46400e355efe
parent child
Show More
@@ -38,7 +38,7 function removeBlock(block) {
38 <%= form_tag({:action => "add_block"}, :id => "block-form") do %>
38 <%= form_tag({:action => "add_block"}, :id => "block-form") do %>
39 <%= label_tag('block-select', l(:label_my_page_block)) %>:
39 <%= label_tag('block-select', l(:label_my_page_block)) %>:
40 <%= select_tag 'block',
40 <%= select_tag 'block',
41 "<option></option>".html_safe + options_for_select(@block_options),
41 content_tag('option') + options_for_select(@block_options),
42 :id => "block-select" %>
42 :id => "block-select" %>
43 <%= link_to_remote l(:button_add),
43 <%= link_to_remote l(:button_add),
44 {:url => { :action => "add_block" },
44 {:url => { :action => "add_block" },
General Comments 0
You need to be logged in to leave comments. Login now