diff --git a/app/views/test/index.html.erb b/app/views/test/index.html.erb --- a/app/views/test/index.html.erb +++ b/app/views/test/index.html.erb @@ -30,61 +30,63 @@ } -
Task: | -- <%= select(:test_request, - :problem_id, - @problems.collect {|p| [p.name, p.id]}, {}, - { :onclick => "updateSubmissionList();" }) %> - | -|
Submission: | -- <%= select(:test_request, - :submission_number, - ((1..@submissions[0].number).collect {|n| [n,n]}).reverse) %> - | -|
Input data: | -- <%= f.file_field :input_file %> - | -- (combined size should not exceed 2MB) - | -
- Additional file*: - | -- <%= f.file_field :additional_file %> - | -
-
- * This option works only for task max.
- You can use this to submit questions.txt. - The file shall be copied to the execution directory before your program runs. - - |
-
- <%= submit_tag 'submit' %> - | -
Task: | ++ <%= select(:test_request, + :problem_id, + @problems.collect {|p| [p.name, p.id]}, {}, + { :onclick => "updateSubmissionList();" }) %> + | +|
Submission: | ++ <%= select(:test_request, + :submission_number, + ((1..@submissions[0].number).collect {|n| [n,n]}).reverse) %> + | +|
Input data: | ++ <%= f.file_field :input_file %> + | ++ (combined size should not exceed 2MB) + | +
+ Additional file*: + | ++ <%= f.file_field :additional_file %> + | +
+
+ * This option works only for task max.
+ You can use this to submit questions.txt. + The file shall be copied to the execution directory before your program runs. + + |
+
+ <%= submit_tag 'submit' %> + | +