I\'m using sorcery for authentication along with twitter bootstrap.
I\'d like to style my error messages on my signup form in the style of twitter\'s bootstrap by ch
Using Rails 6 with Bootstrap 4 you'll need to add the is-invalid class. Without getting too fancy I just did:
is-invalid
ActionView::Base.field_error_proc = proc do |html_tag, instance| html_tag.gsub("form-control", "form-control is-invalid").html_safe end