2016-03-05 03:16:04 +08:00
|
|
|
<% if @is_import.to_i == 1 %>
|
|
|
|
$("#homework_detail_information").html("<%=escape_javascript(render :partial => 'users/homework_detail_information', :locals => {:homework=>@homework}) %>");
|
|
|
|
<% else %>
|
2016-05-23 10:53:49 +08:00
|
|
|
$("#homework_repository_detail").html("<%=escape_javascript(render :partial => 'users/homework_repository_detail', :locals => {:homework=>@homework}) %>");
|
2016-03-03 17:04:38 +08:00
|
|
|
<% end %>
|