Files
codeocean/app/views/community_solutions/index.html.slim
2024-05-21 19:42:26 +02:00

17 lines
481 B
Plaintext

h1 = CommunitySolution.model_name.human(count: :other)
.table-responsive
table.table.mt-4
thead
tr
th = Exercise.human_attribute_name('title')
th colspan=1 = t('shared.actions')
tbody
- @community_solutions.each do |community_solution|
tr
td = community_solution.exercise.title
td = link_to 'Edit', edit_community_solution_path(community_solution)
= render('shared/pagination', collection: @community_solutions)