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
@ -5,14 +5,14 @@
|
||||
- append_javascript_pack_tag('toast-ui')
|
||||
- append_stylesheet_pack_tag('toast-ui')
|
||||
|
||||
= form_for(@proxy_exercise, multipart: true, builder: PagedownFormBuilder) do |f|
|
||||
= form_for(@proxy_exercise, multipart: true, builder: MarkdownFormBuilder) do |f|
|
||||
= render('shared/form_errors', object: @proxy_exercise)
|
||||
.mb-3
|
||||
= f.label(:title, class: 'form-label')
|
||||
= f.text_field(:title, class: 'form-control', required: true)
|
||||
.mb-3
|
||||
= f.label(:description, class: 'form-label')
|
||||
= f.pagedown :description
|
||||
= f.markdown :description
|
||||
.mb-3
|
||||
= f.label(:algorithm, class: 'form-label')
|
||||
= f.collection_select(:algorithm, ProxyExercise.algorithms.map {|algorithm, _id| [t("activerecord.attributes.proxy_exercise.algorithm_type.#{algorithm}"), algorithm] }, :second, :first, {}, class: 'form-control form-control-sm')
|
||||
|
Reference in New Issue
Block a user