mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-21 11:12:27 -05:00
4 lines
175 B
Ruby
4 lines
175 B
Ruby
ActionView::Base.field_error_proc = proc do |html_tag, _instance|
|
|
html_tag.gsub(/class="(.*?)"/, 'class="\1 is-invalid"').html_safe # rubocop:disable Rails/OutputSafety
|
|
end
|