Add user to exercise collection UI

This commit is contained in:
Maximilian Grundke
2017-12-10 18:45:48 +01:00
parent 351f553c60
commit 3e704c260c
3 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ h1
= render('shared/edit_button', object: @exercise_collection)
= row(label: 'exercise_collections.name', value: @exercise_collection.name)
= row(label: 'exercise_collections.user', value: link_to(@exercise_collection.user.name, @exercise_collection.user))
= row(label: 'exercise_collections.updated_at', value: @exercise_collection.updated_at)
h4 = t('activerecord.attributes.exercise_collections.exercises')

View File

@ -124,6 +124,7 @@ de:
exercise_collections:
id: "ID"
name: "Name"
user: "Verantwortlicher"
updated_at: "Letzte Änderung"
exercises: "Aufgaben"
models:

View File

@ -124,6 +124,7 @@ en:
exercise_collections:
id: "ID"
name: "Name"
user: "Associated User"
updated_at: "Last Update"
exercises: "Exercises"
models: