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

@ -22,7 +22,7 @@ module ApplicationHelper
end
def label_column(label)
tag.div(class: 'col-sm-3') do
tag.div(class: 'col-md-3') do
tag.strong do
I18n.translation_present?("activerecord.attributes.#{label}") ? t("activerecord.attributes.#{label}") : t(label)
end
@ -72,7 +72,7 @@ module ApplicationHelper
end
def value_column(value)
tag.div(class: 'col-sm-9') do
tag.div(class: 'col-md-9') do
block_given? ? yield : symbol_for(value)
end
end