feat: enhance user management functionality with detailed feedback and improved error handling
This commit is contained in:
@@ -12,15 +12,18 @@
|
||||
/>
|
||||
</head>
|
||||
<body class="bg-dark">
|
||||
<div class="container d-flex justify-content-center align-items-center" style="min-height: 100vh;">
|
||||
<div class="card shadow-lg" style="width: 100%; max-width: 400px;">
|
||||
<div
|
||||
class="container d-flex justify-content-center align-items-center"
|
||||
style="min-height: 100vh"
|
||||
>
|
||||
<div class="card shadow-lg" style="width: 100%; max-width: 400px">
|
||||
<div class="card-body">
|
||||
<h2 class="card-title text-center mb-4">Login</h2>
|
||||
|
||||
<% if (error) { %>
|
||||
<div class="alert alert-danger text-center" role="alert">
|
||||
<%= error %>
|
||||
</div>
|
||||
<div class="alert alert-danger text-center" role="alert">
|
||||
<%= error %>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<form action="/login" method="post">
|
||||
@@ -61,4 +64,3 @@
|
||||
></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Reference in New Issue
Block a user