Merge branch 'kb_development' into kb_migration

This commit is contained in:
KMY 2023-09-10 15:56:32 +09:00
commit e9de561a24
17 changed files with 107 additions and 7 deletions

View file

@ -117,7 +117,18 @@ SimpleForm.setup do |config|
config.wrappers :with_floating_label, class: [:input, :with_floating_label], hint_class: :field_with_hint, error_class: :field_with_errors do |b|
b.use :html5
b.use :label_input, wrap_with: { tag: :div, class: :label_input }
b.wrapper tag: :div, class: :label_input do |ba|
ba.optional :recommended
ba.optional :kmyblue
ba.use :label
ba.wrapper tag: :div, class: :label_input__wrapper do |bb|
bb.use :input
bb.optional :append, wrap_with: { tag: :div, class: 'label_input__append' }
end
end
b.use :hint, wrap_with: { tag: :span, class: :hint }
b.use :error, wrap_with: { tag: :span, class: :error }
end