diff --git a/app/views/problems/stat.rhtml b/app/views/problems/stat.rhtml --- a/app/views/problems/stat.rhtml +++ b/app/views/problems/stat.rhtml @@ -1,21 +1,24 @@

Problem stat: <%= @problem.name %>

-
-<%= link_to 'Main', :controller => 'main', :action => 'list' %> -
- This is just a hack. Really not efficient.

<% if @submissions!=nil %> - - +
user_idsubmitted_atpointscomment
+ + + + + + + <% count = 0 %> <% @submissions.each do |sub| %> - + "> + <% count += 1 %> <% end %>
user_idsubmitted_atpointscomment
<%= sub.user_id %> <%= sub.submitted_at.to_s %> <%= sub.points %>
<%= sub.grader_comment %>
<% else %>