<% flash.each do |type, message| %>
  <div class="alert alert-<%= alert_class(type) %> alert-dismissible fade show" role="alert">
    <%= message %>
    <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
  </div>
<% end %>
