Rename PagedownFormBuilder to MarkdownFormBuilder
The term 'Pagedown' was originally associated with the pagedown-bootstrap library, which is no longer in use.
This commit is contained in:

committed by
Dominic Sauer

parent
0667cbeefb
commit
17a4485ce2
@@ -9,7 +9,7 @@
|
||||
- execution_environments = ExecutionEnvironment.where.not(file_type_id: nil).select(:file_type_id, :id)
|
||||
- file_types = FileType.where.not(file_extension: nil).select(:file_extension, :id)
|
||||
|
||||
= form_for(@exercise, data: {execution_environments:, file_types:}, multipart: true, builder: PagedownFormBuilder) do |f|
|
||||
= form_for(@exercise, data: {execution_environments:, file_types:}, multipart: true, builder: MarkdownFormBuilder) do |f|
|
||||
= render('shared/form_errors', object: @exercise)
|
||||
.mb-3
|
||||
= f.label(:title, class: 'form-label')
|
||||
@@ -20,7 +20,7 @@
|
||||
.help-block.form-text == t('.hints.internal_title')
|
||||
.mb-3
|
||||
= f.label(:description, class: 'form-label')
|
||||
= f.pagedown :description
|
||||
= f.markdown :description
|
||||
.mb-3
|
||||
= f.label(:execution_environment_id, class: 'form-label')
|
||||
= f.collection_select(:execution_environment_id, @execution_environments, :id, :name, {include_blank: t('exercises.form.none')}, class: 'form-control')
|
||||
|
Reference in New Issue
Block a user