Description:
fix link back to problems in problems path
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r589:9e1cc9dd0e9a - - 2 files changed: 2 inserted, 2 deleted
@@ -7,12 +7,12 | |||||
|
7 | %b Problem: |
|
7 | %b Problem: |
|
8 | = "#{@problem.full_name} (#{@problem.name})" |
|
8 | = "#{@problem.full_name} (#{@problem.name})" |
|
9 | %br/ |
|
9 | %br/ |
|
10 | = "Note that the full score has been set to #{@problem.full_score}." |
|
10 | = "Note that the full score has been set to #{@problem.full_score}." |
|
11 |
|
11 | ||
|
12 | %p |
|
12 | %p |
|
13 |
- = link_to '[Back to problem list]', |
|
13 | + = link_to '[Back to problem list]', problems_path |
|
14 | = link_to '[Import other problems]', :action => 'import' |
|
14 | = link_to '[Import other problems]', :action => 'import' |
|
15 |
|
15 | ||
|
16 | %h3 Import log |
|
16 | %h3 Import log |
|
17 | %pre.import-log |
|
17 | %pre.import-log |
|
18 | = @log |
|
18 | = @log |
@@ -1,12 +1,12 | |||||
|
1 | - content_for :head do |
|
1 | - content_for :head do |
|
2 | = stylesheet_link_tag 'problems' |
|
2 | = stylesheet_link_tag 'problems' |
|
3 |
|
3 | ||
|
4 | %h1 Import problems |
|
4 | %h1 Import problems |
|
5 |
|
5 | ||
|
6 |
- %p= link_to '[Back to problem list]', |
|
6 | + %p= link_to '[Back to problem list]', problems_path |
|
7 |
|
7 | ||
|
8 | - if @problem and @problem.errors |
|
8 | - if @problem and @problem.errors |
|
9 | =error_messages_for 'problem' |
|
9 | =error_messages_for 'problem' |
|
10 |
|
10 | ||
|
11 | = form_tag({:action => 'do_import'}, :multipart => true) do |
|
11 | = form_tag({:action => 'do_import'}, :multipart => true) do |
|
12 | .submitbox |
|
12 | .submitbox |
You need to be logged in to leave comments.
Login now