Remove flash padding

This commit is contained in:
david 2024-10-26 02:32:44 +02:00
parent c52845e988
commit bd22ad2852

View file

@ -1,16 +1,14 @@
<% if flash[:alert] || flash[:notice] %> <% if flash[:alert] || flash[:notice] %>
<div class="container-fluid mt-3 mb-3"> <% if flash[:alert] %>
<% if flash[:alert] %> <div class="alert alert-danger" role="alert">
<div class="alert alert-danger" role="alert"> <%= flash[:alert] %><% flash.delete(:alert) %>
<%= flash[:alert] %><% flash.delete(:alert) %> </div>
</div> <% end %>
<% end %>
<% if flash[:notice] %> <% if flash[:notice] %>
<div class="alert alert-info" role="alert"> <div class="alert alert-info" role="alert">
<%= flash[:notice] %> <%= flash[:notice] %>
<% flash.delete(:notice) %> <% flash.delete(:notice) %>
</div> </div>
<% end %> <% end %>
</div>
<% end %> <% end %>