diff --git a/app/views/problems/stat.rhtml b/app/views/problems/stat.rhtml new file mode 100644 --- /dev/null +++ b/app/views/problems/stat.rhtml @@ -0,0 +1,23 @@ +

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

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

+ +<% if @submissions!=nil %> + + + <% @submissions.each do |sub| %> + + + + + + + <% end %> +
user_idsubmitted_atpointscomment
<%= sub.user_id %><%= sub.submitted_at.to_s %><%= sub.points %>
<%= sub.grader_comment %>
+<% else %> +No submission +<% end %>