application.rhtml.wrong 952 Bytes
<html>
  <head>
    <%= javascript_include_tag :defaults %>
    <%= stylesheet_link_tag 'default' %>

  </head>
  <body>
    <%= image_tag 'loading.gif', :id=>'spinner', :style=>"display:none; float:right;" %>

    <%= link_to _('edit layout'), params.merge({:edit_layout => true}) %>
    <%= link_to _('show layout'), params.merge({:edit_layout => false}) %>
    <%= link_to _('acao diferente'), :action => 'teste' %>

    <div id="box_1" >
      <%= show_block(@owner, 1)%>
    </div>
<%= update_page_tag{|page|
#TODO this is to test
#page.alert('leo')
#@box_number=1
#page.replace_html "box_1", {:partial => 'leo'};
#page.replace_html "box_1", {:partial => 'layouts/box_template'};
#page.sortable "leo_1", :url => {:action => 'sort_box', :box_number => 1};
#)page.show
}
%>


    <div id="box_2" >
      <%= show_block(@owner, 2)%>
      <%= yield %>
    </div>
    <div id="box_3" >
      <%= show_block(@owner, 3)%>
    </div>

  </body>

</html>