
- files should be prefixed with code_ocean/ - the markdown editor is part of the application (helper)
8 lines
403 B
Plaintext
8 lines
403 B
Plaintext
.mb-3
|
|
= form.label(attribute, class: 'form-label')
|
|
= form.text_area(attribute, class: 'code-field form-control', rows: 16, style: 'display:none;')
|
|
= render partial: 'editor_edit', locals: {exercise: @exercise}
|
|
.card.border-warning.p-2.my-2
|
|
= form.file_field(attribute, class: 'form-control', style: 'display: inline-block;')
|
|
.help-block.form-text = t('exercises.file_form.hints.upload')
|