Files
codeocean/app/views/exercise_collections/show.html.slim
Maximilian Grundke 06e99059d4 Add new lines at eof
2017-10-04 12:53:09 +02:00

12 lines
451 B
Plaintext

h1
= @exercise_collection
= render('shared/edit_button', object: @exercise_collection)
= row(label: 'exercise_collections.name', value: @exercise_collection.name)
= row(label: 'exercise_collections.updated_at', value: @exercise_collection.updated_at)
h4 = t('activerecord.attributes.exercise_collections.exercises')
ul.list-unstyled
- @exercise_collection.exercises.sort_by{|c| c.title}.each do |exercise|
li = link_to(exercise, exercise)