Files
codeocean/app/views/exercises/_code_field.html.slim
Sebastian Serth e551c8a699 Reorder translations and add missing prefixes
- files should be prefixed with code_ocean/
- the markdown editor is part of the application (helper)
2024-05-21 19:42:26 +02:00

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')