Remove flash padding

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

View file

@ -1,5 +1,4 @@
<% 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) %>
@ -12,5 +11,4 @@
<% flash.delete(:notice) %> <% flash.delete(:notice) %>
</div> </div>
<% end %> <% end %>
</div>
<% end %> <% end %>