formations/cesi/architecture_n_tiers/ressources/exercices/ex_microbloggr_solution/services/login_page/app/views/index.ejs

20 lines
549 B
Plaintext

<html>
<body>
<h1>Login</h1>
<% if (error) { %>
<div class="error"><p><%= error %></p></div>
<% } %>
<form method="POST" enctype="application/x-www-form-urlencoded">
<div>
<label for="username">Username</label>
<input type="text" name="username" id="username" required />
</div>
<div>
<label for="username">Password</label>
<input type="password" name="password" id="password" required />
</div>
<button type="submit">Login</button>
</form>
</body>
</html>