diff --git a/app/views/main/_problem.html.erb b/app/views/main/_problem.html.erb --- a/app/views/main/_problem.html.erb +++ b/app/views/main/_problem.html.erb @@ -10,9 +10,17 @@ <%= @prob_submissions[problem_counter][:count] %> - <%= render :partial => 'submission_short', - :locals => { - :submission => @prob_submissions[problem_counter][:submission], - :problem_name => problem.name }%> + + <% form_tag "new_input/#{problem.id}", :method => :post do -%> + + <% end -%> + <% form_tag "download/#{problem.id}", :method => :post do -%> + + <% end -%> + <% form_tag "submit_solution/#{problem.id}", :method => :post do -%> + + + <% end -%> +