Commit 37603e3e2e027db185e61840adaa6dfe9ced9b59
1 parent
d205407d
Exists in
master
and in
22 other branches
container-block: remove unnecessary view
Showing
1 changed file
with
0 additions
and
14 deletions
Show diff stats
plugins/container_block/views/box_organizer/_container_block.rhtml
| @@ -1,14 +0,0 @@ | @@ -1,14 +0,0 @@ | ||
| 1 | -<br/> | ||
| 2 | -<ul id="links"> | ||
| 3 | - <% @block.blocks.each do |block| %> | ||
| 4 | - <li> | ||
| 5 | - <%= block.class.name %> | ||
| 6 | - </li> | ||
| 7 | - <% end %> | ||
| 8 | -</ul> | ||
| 9 | - | ||
| 10 | -<%= link_to_function(_('New block'), nil, :class => 'button icon-add with-text') { |page| | ||
| 11 | - page.insert_html :bottom, 'links', content_tag('li',select_tag('block[block_classes][]', | ||
| 12 | - options_for_select( @controller.available_blocks.each_with_index.map {|b,i| [b.name, b.name] } ))) } %> | ||
| 13 | - | ||
| 14 | -<br/><br/> |