Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit d74bcf8f authored by 65160381's avatar 65160381
Browse files

Update file login.ejs

parent 8c32468d
No related branches found
No related tags found
No related merge requests found
Pipeline #570 passed with warnings
...@@ -129,14 +129,14 @@ ...@@ -129,14 +129,14 @@
</svg> </svg>
<main class="form-signin w-100 m-auto"> <main class="form-signin w-100 m-auto">
<form action="/user/login" method="POST"> <% if (message) { %>
<% if (message && message.length > 0) { %> <div class="alert alert-danger">
<div class="alert alert-danger" role="alert">
<%= message %> <%= message %>
</div> </div>
<% } %> <% } %>
<h1 class="h3 mb-3 fw-normal">Sign in</h1> <form action="/user/login" method="POST">
<h1 class="h3 mb-3 fw-normal">Please sign in</h1>
<div class="form-floating"> <div class="form-floating">
<label for="floatingInput">Email address</label> <label for="floatingInput">Email address</label>
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
</div> </div>
<div class="form-floating"> <div class="form-floating">
<label for="floatingPassword">Password</label> <label for="floatingPassword">Password</label>
<input type="password" class="form-control" id="floatingPassword" name="rpassword" placeholder="Password"> <input type="password" class="form-control" id="floatingPassword" name="password" placeholder="Password">
</div> </div>
<div class="form-check text-start my-3"> <div class="form-check text-start my-3">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment