2011-12-29 09:49:48 +00:00
|
|
|
$('#back_main').empty();
|
2012-07-30 09:21:37 +00:00
|
|
|
<% case @item.class %>
|
2012-05-22 06:45:49 +00:00
|
|
|
<% when 'Page' %>
|
2011-12-29 09:49:48 +00:00
|
|
|
$('#back_main').append("<%= escape_javascript(render(:partial => 'admin/pages/show')) %>");
|
2012-05-22 06:45:49 +00:00
|
|
|
<% when 'Link' %>
|
|
|
|
$('#back_main').append("<%= escape_javascript(render(:partial => 'admin/links/show')) %>");
|
|
|
|
<% end %>
|