Add user (ID and type) to proxy exercise

This is required for the existing policies to work
This commit is contained in:
Sebastian Serth
2018-11-22 19:16:03 +01:00
parent e08e02f1c8
commit 59257d17f2
8 changed files with 39 additions and 4 deletions

View File

@@ -6,6 +6,10 @@
.form-group
= f.label(:description)
= f.pagedown :description, input_html: { preview: true, rows: 10 }
.form-check.mb-3
label.form-check-label
= f.check_box(:public, class: 'form-check-input')
= t('activerecord.attributes.exercise.public')
h3 Exercises
.table-responsive