Enable exercise forms to manipulate file creation flag

This commit is contained in:
Maximilian Grundke
2016-05-10 17:14:07 +02:00
parent 6c820b75c7
commit aba6d56a87
5 changed files with 8 additions and 1 deletions

View File

@@ -28,6 +28,10 @@
label
= f.check_box(:hide_file_tree)
= t('activerecord.attributes.exercise.hide_file_tree')
.checkbox
label
= f.check_box(:allow_file_creation)
= t('activerecord.attributes.exercise.allow_file_creation')
h2 = t('activerecord.attributes.exercise.files')
ul#files.list-unstyled.panel-group
= f.fields_for :files do |files_form|