diff options
-rw-r--r-- | app/views/my/page_layout.html.erb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/my/page_layout.html.erb b/app/views/my/page_layout.html.erb index 419cfee30..67edb9f28 100644 --- a/app/views/my/page_layout.html.erb +++ b/app/views/my/page_layout.html.erb @@ -37,7 +37,9 @@ function removeBlock(block) { <div class="contextual"> <% form_tag({:action => "add_block"}, :id => "block-form") do %> <%= label_tag('block-select', l(:label_my_page_block)) %>: -<%= select_tag 'block', "<option></option>" + options_for_select(@block_options), :id => "block-select" %> +<%= select_tag 'block', + "<option></option>".html_safe + options_for_select(@block_options), + :id => "block-select" %> <%= link_to_remote l(:button_add), {:url => { :action => "add_block" }, :with => "Form.serialize('block-form')", |