@@ -37,7 +37,9 function removeBlock(block) { | |||||
37 | <div class="contextual"> |
|
37 | <div class="contextual"> | |
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', "<option></option>" + options_for_select(@block_options), :id => "block-select" %> |
|
40 | <%= select_tag 'block', | |
|
41 | "<option></option>".html_safe + options_for_select(@block_options), | |||
|
42 | :id => "block-select" %> | |||
41 | <%= link_to_remote l(:button_add), |
|
43 | <%= link_to_remote l(:button_add), | |
42 | {:url => { :action => "add_block" }, |
|
44 | {:url => { :action => "add_block" }, | |
43 | :with => "Form.serialize('block-form')", |
|
45 | :with => "Form.serialize('block-form')", |
General Comments 0
You need to be logged in to leave comments.
Login now