This commit is contained in:
yqbk
2016-07-25 18:41:52 +02:00
parent 70c5f9c3ad
commit 9b66d61998
2 changed files with 2 additions and 1 deletions

View File

@@ -43,4 +43,4 @@ li.panel.panel-default
.form-group
= f.label(:role, t('activerecord.attributes.file.weight'))
= f.number_field(:weight, class: 'form-control', min: 1, step: 'any')
= render('code_field', attribute: :content, form: f, label: t('activerecord.attributes.file.content'))
= render('code_field', attribute: :content, form: f, e: @exercise, label: t('activerecord.attributes.file.content'))