Files
codeocean/app/views/exercise_collections/show.html.slim
Maximilian Grundke f0c0621b31 Implement show route
2017-09-27 16:52:42 +02:00

11 lines
431 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 = exercise