<div aria-live="polite" aria-atomic="true" class="position-relative"> <div id="toast-container" class="toast-container" style="top: 4.05em; right: 0;"> <% flash.each do |type, msg| %> <% next if type == "timedout" %> <%= render view_component(ToastComponent, title: type.titleize, body: msg) %> <% end %> </div> </div>