Description:
fix double h2 in live submit
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r780:bb5de7322cc4 - - 1 file changed: 0 inserted, 3 deleted
@@ -1,27 +1,24 | |||||
|
1 | - %h2 Live submit |
|
||
|
2 | - %br |
|
||
|
3 | - |
|
||
|
4 |
|
|
1 | %textarea#text_sourcecode{style: "display:none"}~ @source |
|
5 | .container |
|
2 | .container |
|
6 | .row |
|
3 | .row |
|
7 | .col-md-12 |
|
4 | .col-md-12 |
|
8 | %h2 Live submit |
|
5 | %h2 Live submit |
|
9 |
|
6 | ||
|
10 | .row |
|
7 | .row |
|
11 | .col-md-12 |
|
8 | .col-md-12 |
|
12 | .alert.alert-info |
|
9 | .alert.alert-info |
|
13 | Write your code in the following box, choose language, and click submit button when finished |
|
10 | Write your code in the following box, choose language, and click submit button when finished |
|
14 | .row |
|
11 | .row |
|
15 | .col-md-8 |
|
12 | .col-md-8 |
|
16 | %div#editor{style: 'height: 500px; border-radius: 7px; font-size: 14px;'} |
|
13 | %div#editor{style: 'height: 500px; border-radius: 7px; font-size: 14px;'} |
|
17 | .col-md-4 |
|
14 | .col-md-4 |
|
18 | - # submission form |
|
15 | - # submission form |
|
19 | = form_tag({controller: :main, :action => 'submit'}, :multipart => true, class: 'form') do |
|
16 | = form_tag({controller: :main, :action => 'submit'}, :multipart => true, class: 'form') do |
|
20 |
|
17 | ||
|
21 | = hidden_field_tag 'editor_text', @source |
|
18 | = hidden_field_tag 'editor_text', @source |
|
22 | = hidden_field_tag 'submission[problem_id]', @problem.id |
|
19 | = hidden_field_tag 'submission[problem_id]', @problem.id |
|
23 | .form-group |
|
20 | .form-group |
|
24 | = label_tag "Task:" |
|
21 | = label_tag "Task:" |
|
25 | = text_field_tag 'asdf', "#{@problem.long_name}", class: 'form-control', disabled: true |
|
22 | = text_field_tag 'asdf', "#{@problem.long_name}", class: 'form-control', disabled: true |
|
26 | .form-group |
|
23 | .form-group |
|
27 | = label_tag "Description:" |
|
24 | = label_tag "Description:" |
You need to be logged in to leave comments.
Login now