diff --git a/app/views/problems/do_import.html.haml b/app/views/problems/do_import.html.haml --- a/app/views/problems/do_import.html.haml +++ b/app/views/problems/do_import.html.haml @@ -10,7 +10,7 @@ = "Note that the full score has been set to #{@problem.full_score}." %p - = link_to '[Back to problem list]', :action => 'list' + = link_to '[Back to problem list]', problems_path = link_to '[Import other problems]', :action => 'import' %h3 Import log diff --git a/app/views/problems/import.html.haml b/app/views/problems/import.html.haml --- a/app/views/problems/import.html.haml +++ b/app/views/problems/import.html.haml @@ -3,7 +3,7 @@ %h1 Import problems -%p= link_to '[Back to problem list]', :action => 'list' +%p= link_to '[Back to problem list]', problems_path - if @problem and @problem.errors =error_messages_for 'problem'