Description:
fixed extra space in pre tag on problem discriptions
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r240:01801dd237cd - - 1 file changed: 1 inserted, 1 deleted
@@ -5,17 +5,17 | |||||
|
5 | %input{:type => "submit", :value => "Download input", :onclick => "CodejomTimeout.updateTimeoutAfterDownloadClick(#{problem.id}); return true;"} |
|
5 | %input{:type => "submit", :value => "Download input", :onclick => "CodejomTimeout.updateTimeoutAfterDownloadClick(#{problem.id}); return true;"} |
|
6 | %span{:id => "problem-timing-message-#{problem.id}"} |
|
6 | %span{:id => "problem-timing-message-#{problem.id}"} |
|
7 | = "After downloading, you have #{TEST_ASSIGNMENT_EXPIRATION_DURATION/60} minutes to submit." |
|
7 | = "After downloading, you have #{TEST_ASSIGNMENT_EXPIRATION_DURATION/60} minutes to submit." |
|
8 | %div{:id => "problem-submission-form-#{problem.id}"} |
|
8 | %div{:id => "problem-submission-form-#{problem.id}"} |
|
9 | - form_tag({ :action => 'submit_solution', :id => problem.id }, :method => :post, :multipart => true) do |
|
9 | - form_tag({ :action => 'submit_solution', :id => problem.id }, :method => :post, :multipart => true) do |
|
10 | %b Submit output: |
|
10 | %b Submit output: |
|
11 | %input{:type => "file", :name => "file"} |
|
11 | %input{:type => "file", :name => "file"} |
|
12 | %input{:type => "submit", :value => "Submit solution"} |
|
12 | %input{:type => "submit", :value => "Submit solution"} |
|
13 |
|
13 | ||
|
14 | .problem-description |
|
14 | .problem-description |
|
15 | - if problem.description!=nil |
|
15 | - if problem.description!=nil |
|
16 | - if problem.description.markdowned |
|
16 | - if problem.description.markdowned |
|
17 |
- |
|
17 | + ~ markdown(problem.description.body) |
|
18 | - else |
|
18 | - else |
|
19 | = problem.description.body |
|
19 | = problem.description.body |
|
20 | - else |
|
20 | - else |
|
21 | (not available) |
|
21 | (not available) |
You need to be logged in to leave comments.
Login now