Update Bootstrap from v4 to v5
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user