Feature: Auto-Completion in Source Code

+ allow flags for exercises
This commit is contained in:
Ralf Teusner
2016-09-07 17:34:20 +02:00
parent b8da4dea17
commit 8f499b72da
10 changed files with 29 additions and 5 deletions

View File

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