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,20 +1,20 @@
= form_for(@error_template) do |f|
= render('shared/form_errors', object: @error_template)
.form-group
= f.label(:name)
.mb-3
= f.label(:name, class: 'form-label')
= f.text_field(:name, class: 'form-control', required: true)
.form-group
= f.label(:execution_environment_id)
.mb-3
= f.label(:execution_environment_id, class: 'form-label')
= f.collection_select(:execution_environment_id, ExecutionEnvironment.all.order(:name), :id, :name, {include_blank: false}, class: 'form-control')
.form-group
= f.label(:signature)
.mb-3
= f.label(:signature, class: 'form-label')
= f.text_field(:signature, class: 'form-control')
.help-block.form-text == t('error_templates.hints.signature')
.form-group
= f.label(:description)
.mb-3
= f.label(:description, class: 'form-label')
= f.text_field(:description, class: 'form-control')
.form-group
= f.label(:hint)
.mb-3
= f.label(:hint, class: 'form-label')
= f.text_field(:hint, class: 'form-control')
.help-block.form-text == t('error_templates.hints.hint_templates')
.actions = render('shared/submit_button', f: f, object: @error_template)