tests
This commit is contained in:
@ -3,4 +3,5 @@
|
||||
|
|
||||
a.toggle-input data={text_initial: t('shared.upload_file'), text_toggled: t('shared.back')} href='#' = t('shared.upload_file')
|
||||
= form.text_area(attribute, class: 'code-field form-control original-input', rows: 16)
|
||||
= render('editor_frame', exercise: e, file: @files)
|
||||
= form.file_field(attribute, class: 'alternative-input form-control', disabled: true)
|
||||
|
@ -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'))
|
||||
|
Reference in New Issue
Block a user