fix flash messages

This commit is contained in:
Alex Turchyn
2023-06-23 00:29:59 +03:00
parent ac5d0c8cc3
commit 4977ee429c
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
<body>
<turbo-frame id="modal"></turbo-frame>
<%= render 'shared/navbar' %>
<% if flash.present? %><% render 'shared/flash' %><% end %>
<% if flash.present? %><%= render 'shared/flash' %><% end %>
<div class="max-w-6xl mx-auto px-4 md:px-2">
<%= yield %>
</div>