This commit is contained in:
Maximilian Grundke
2018-07-13 16:54:19 +02:00
parent 2d8f016b5e
commit 620a0841e8

View File

@ -1,5 +1,3 @@
- users = InternalUser.order(:name)
= form_for(@exercise_collection, multipart: true) do |f|
= render('shared/form_errors', object: @exercise_collection)
.form-group
@ -10,7 +8,7 @@
= f.check_box(:use_anomaly_detection, {class: 'form-control'})
.form-group
= f.label(t('activerecord.attributes.exercise_collections.user'))
= f.collection_select(:user_id, users, :id, :name, {}, {class: 'form-control'})
= f.collection_select(:user_id, InternalUser.order(:name), :id, :name, {}, {class: 'form-control'})
.table-responsive#exercise-list
table.table