improve reputation display and flash messages
This commit is contained in:
8
app/views/layouts/_flash.html.erb
Normal file
8
app/views/layouts/_flash.html.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="container-fluid">
|
||||
<% flash.each do |type, msg| %>
|
||||
<div class="alert <%= bootstrap_class_for_flash(type) %> alert-dismissible fade show" role="alert">
|
||||
<%= msg %>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user