Update Bootstrap from v4 to v5

This commit is contained in:
Sebastian Serth
2022-08-11 19:10:49 +02:00
parent 6803efc023
commit 8a055a0d68
84 changed files with 559 additions and 566 deletions

View File

@@ -1,16 +1,16 @@
= form_for(@tip, builder: PagedownFormBuilder) do |f|
= render('shared/form_errors', object: @tip)
.form-group
= f.label(:title)
.mb-3
= f.label(:title, class: 'form-label')
= f.text_field(:title, class: 'form-control', required: false)
.form-group
= f.label(:description)
.mb-3
= f.label(:description, class: 'form-label')
= f.pagedown :description, input_html: { preview: true, rows: 5 }
.form-group
= f.label(:file_type_id, t('activerecord.attributes.file.file_type_id'))
.mb-3
= f.label(:file_type_id, t('activerecord.attributes.file.file_type_id'), class: 'form-label')
= f.collection_select(:file_type_id, @file_types, :id, :name, {include_blank: true}, class: 'form-control')
.form-group
= f.label(:example)
.mb-3
= f.label(:example, class: 'form-label')
= f.text_area(:example, class: 'code-field form-control', rows: 5, style: "display:none;", required: false)
#editor-edit.original-input data-file-id=@tip.id
#frames