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.
orbit-4-1/app/views/admin/items/index.js.erb

7 lines
288 B
Plaintext
Raw Normal View History

$('#back_main').empty();
2012-07-30 10:34:54 +00:00
<% case @item.class.to_s %>
2012-05-22 06:45:49 +00:00
<% when 'Page' %>
$('#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 %>