This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2011-12-29 09:49:48 +00:00
|
|
|
$('#back_main').empty();
|
2012-05-22 06:45:49 +00:00
|
|
|
<% case @item._type %>
|
|
|
|
<% 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 %>
|