Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions lib/devise_bootstrap_views_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ def bootstrap_devise_error_messages!
)

html = <<-HTML
<div class="alert alert-danger">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<h4 class="alert-heading">#{sentence}</h4>
<ul class="mb-0">#{messages}</ul>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
HTML

Expand Down