Improve flash messages

This commit is contained in:
julien committed 2026-11-03 15:59:30 +01:00
1 parent 2d72b20cad
commit 189ad45eea
6 files changed
+144 -182

No files matched your search

+12
View File
@@ -2,6 +2,18 @@
<div class="content page-panel auth-panel">
<h1>Connexion</h1>
<% if flash["error"] || flash["notice"] %>
<div class="flash-container">
<% if error = flash["error"] %>
<p class="flash flash--error" role="alert"><%= error %></p>
<% end %>
<% if notice = flash["notice"] %>
<p class="flash flash--notice" role="status"><%= notice %></p>
<% end %>
</div>
<% end %>
<%== rodauth.login_form_header %>
<%== rodauth.render("login-form") %>