diff --git a/app/views/exercise_collections/statistics.html.slim b/app/views/exercise_collections/statistics.html.slim index acb0c57f..5e9462df 100644 --- a/app/views/exercise_collections/statistics.html.slim +++ b/app/views/exercise_collections/statistics.html.slim @@ -18,7 +18,7 @@ h1 = @exercise_collection h4.mt-4 = t('activerecord.attributes.exercise_collections.exercises') .table-responsive#exercise-list - table.table + table.table.sortable thead tr th = '#' @@ -38,4 +38,4 @@ h4.mt-4 = t('activerecord.attributes.exercise_collections.exercises') td = exercise.submissions.send(:final).distinct.count(:user_id) td = finishers_percentage = exercise.users.distinct.count == 0 ? 0 : (100.0 / exercise.users.distinct.count * exercise.finishers.count).round(2) td = exercise.average_percentage - td = link_to(t('shared.statistics'), statistics_exercise_path(exercise), 'data-turbolinks' => "false") if policy(exercise).statistics? \ No newline at end of file + td = link_to(t('shared.statistics'), statistics_exercise_path(exercise), 'data-turbolinks' => "false") if policy(exercise).statistics?