2017-03-10 15:41:44 +08:00
|
|
|
<%= link_to "提交评测", {:controller => 'games', :action => "game_build", :id => @game, :myshixun_id => @myshixun}, :class => "task-display-span bBlue mt10", :onclick => "training_task_submmit();", :remote => true %>
|
2017-03-13 09:00:13 +08:00
|
|
|
tpi
|
|
|
|
</br>
|
2017-03-14 10:48:46 +08:00
|
|
|
<% outputs = GameOutputs.where(:game_id => @game) %>
|
|
|
|
|
|
|
|
<% unless outputs .nil?%>
|
|
|
|
<% outputs.each do |output| %>
|
|
|
|
code: <%= output.code %></br>
|
|
|
|
mes: <%= output.msg %></br>
|
|
|
|
output : <%= output.out_put %></br>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
2017-03-13 09:00:13 +08:00
|
|
|
|
2017-03-13 17:39:27 +08:00
|
|
|
<%= render :partial => "repository" %>
|
|
|
|
|