shared flash notifications

This commit is contained in:
2026-01-31 15:50:31 +01:00
parent 227ab744b5
commit 9c6714e97c
8 changed files with 13 additions and 51 deletions
+2 -5
View File
@@ -3,6 +3,8 @@
<div class="min-h-screen flex flex-col">
<%= render "shared/header", show_request_button: false %>
<%= render "shared/notifications" %>
<div class="flex-1 bg-gradient-to-br from-indigo-50 via-white to-purple-50 flex items-center justify-center px-4 py-12">
<div class="max-w-2xl w-full">
<div class="bg-white rounded-2xl shadow-xl p-8">
@@ -11,11 +13,6 @@
<p class="text-gray-600">Is there a word you would like to see in this glossary?</p>
</div>
<% if flash[:alert] %>
<div class="mb-6 p-4 bg-red-50 border border-red-200 rounded-lg text-red-800">
<%= flash[:alert] %>
</div>
<% end %>
<% if @pending_count && @pending_count > 0 %>
<div class="mb-6 p-4 bg-blue-50 border border-blue-200 rounded-lg text-blue-800">