removed expected working time from show/create/index and database since we do not use it

This commit is contained in:
Thomas Hille
2017-10-03 18:46:39 +02:00
parent 2806d9bf85
commit 95a849e9f5
8 changed files with 49 additions and 17 deletions

View File

@@ -20,7 +20,6 @@ h1
= row(label: 'exercise.embedding_parameters') do
= content_tag(:input, nil, class: 'form-control', readonly: true, value: embedding_parameters(@exercise))
= row(label: 'exercise.difficulty', value: @exercise.expected_difficulty)
= row(label: 'exercise.worktime', value: "#{@exercise.expected_worktime_seconds/60} min")
= row(label: 'exercise.tags', value: @exercise.exercise_tags.map{|et| "#{et.tag.name} (#{et.factor})"}.sort.join(", "))
h2 = t('activerecord.attributes.exercise.files')