Add UI for anomaly detection flag

This commit is contained in:
Maximilian Grundke
2017-12-13 07:37:49 +01:00
parent 041f080191
commit 7ed78a2cfd
5 changed files with 7 additions and 1 deletions

View File

@ -6,6 +6,9 @@
.form-group
= f.label(t('activerecord.attributes.exercise_collections.name'))
= f.text_field(:name, class: 'form-control', required: true)
.form-group
= f.label(t('activerecord.attributes.exercise_collections.use_anomaly_detection'))
= 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'})