simple-images-upload/views/pages/connexion.ejs

29 lines
839 B
Text
Raw Normal View History

2023-09-23 20:54:44 +02:00
<div class="box">
<form method="POST">
<h1>
Connexion
</h1>
<div class="field">
<label for="email">Adresse e-mail</label>
<input type="email" name="email" id="email" placeholder="ex : damien@darkou.fr">
</div>
<div class="field">
<label for="password">Mot de passe</label>
<input type="password" name="password" id="password" placeholder="********">
</div>
<% if ( messages ) {%>
<% for (let i = 0 ; i < messages.length ; i += 1 ) { %>
<div class="message error" role="alert">
<%= messages[i] %>
</div>
<% } %>
<% } %>
<div class="text-right mt-10">
<p>Pas encore inscrit ? <a href="/inscription">Inscrivez-vous</a></p>
</div>
<button type="submit" class="button is-primary">Connexion</button>
</form>
</div>