|
|
|
@ -69,8 +69,12 @@ function removeBlock(block) { |
|
|
|
|
<% content_for :action_menu_specific do %> |
|
|
|
|
<li> |
|
|
|
|
<%= form_tag({:action => "add_block"}, :id => "block-form") do %> |
|
|
|
|
<span class="inline-label"> |
|
|
|
|
<%= label_tag('block-select', l(:label_my_page_block)) %>: |
|
|
|
|
<%= select_tag 'block', "<option></option>".html_safe + options_for_select(@block_options), :id => "block-select" %> |
|
|
|
|
<%= select_tag 'block', "<option></option>".html_safe + options_for_select(@block_options), |
|
|
|
|
:id => "block-select", |
|
|
|
|
class: 'form--select -small' %> |
|
|
|
|
<span> |
|
|
|
|
<%= link_to_remote l(:button_add), |
|
|
|
|
{:url => { :action => "add_block" }, |
|
|
|
|
:with => "Form.serialize('block-form')", |
|
|
|
@ -79,6 +83,8 @@ function removeBlock(block) { |
|
|
|
|
:complete => "afterAddBlock();" |
|
|
|
|
}, :class => 'icon icon-add' |
|
|
|
|
%> |
|
|
|
|
</span> |
|
|
|
|
</span> |
|
|
|
|
<% end %> |
|
|
|
|
</li> |
|
|
|
|
<li><%= link_to l(:button_back), {:action => 'page'}, :class => 'icon icon-cancel' %></li> |
|
|
|
|