35 lines
1.4 KiB
Plaintext
35 lines
1.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title><%= title %></title>
|
|
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
|
|
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
|
|
</head>
|
|
<body>
|
|
<% if (messages.error) { %>
|
|
<p style="color:red"><%- messages.error %></p>
|
|
<% } %>
|
|
<% if (messages.success) { %>
|
|
<p style="color:green"><%- messages.success %></p>
|
|
<% } %>
|
|
<form action="/auth/post-register" method="post" name="form1">
|
|
<div class="form-group">
|
|
<label for="exampleInputEmail1">Name</label>
|
|
<input type="name" name="name" class="form-control" id="name" aria-describedby="nameHelp" placeholder="Enter name" value="">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="exampleInputEmail1">Email</label>
|
|
<input type="email" name="email" class="form-control" id="email" aria-describedby="emailHelp" placeholder="Enter email" value="">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="exampleInputEmail1">Password</label>
|
|
<input type="password" name="password" class="form-control" id="password" aria-describedby="emailHelp" placeholder="*********" value="">
|
|
</div>
|
|
<input type="submit" class="btn btn-primary" value="Add">
|
|
<a href="auth/login" class="btn btn-success ml-2">Login</a>
|
|
</form>
|
|
</body>
|
|
</html>
|