diff --git a/app/views/exercises/index.html.slim b/app/views/exercises/index.html.slim index 3a7bec22..9ad5cc25 100644 --- a/app/views/exercises/index.html.slim +++ b/app/views/exercises/index.html.slim @@ -13,7 +13,6 @@ h1 = Exercise.model_name.human(count: 2) thead tr th = sort_link(@search, :title, t('activerecord.attributes.exercise.title')) - th = sort_link(@search, :user_id, t('activerecord.attributes.exercise.user')) th = sort_link(@search, :execution_environment_id, t('activerecord.attributes.exercise.execution_environment')) th = t('.test_files') th = t('activerecord.attributes.exercise.maximum_score') @@ -27,7 +26,6 @@ h1 = Exercise.model_name.human(count: 2) - @exercises.each do |exercise| tr data-id=exercise.id td = exercise.title - td = link_to_if(exercise.author && policy(exercise.author).show?, exercise.author, exercise.author) td = link_to_if(exercise.execution_environment && policy(exercise.execution_environment).show?, exercise.execution_environment, exercise.execution_environment) td = exercise.files.teacher_defined_tests.count td = exercise.maximum_score