This commit is contained in:
yqbk
2016-07-27 17:15:07 +02:00
parent 9b66d61998
commit e86a8f538e
3 changed files with 4 additions and 9 deletions

View File

@@ -3,5 +3,6 @@
|  
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)
// Need to render content in ace editor instead of plain text
= render('editor_frame', exercise: e, file: @files)
= form.file_field(attribute, class: 'alternative-input form-control', disabled: true)