Skip to content
Permalink
d1eaf3972e
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
39 lines (37 sloc) 1021 Bytes
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Log In</title>
<meta name="description" content="form to add new books">
<meta name="author" content="Mark Tyers">
<link href="{{host}}/style.css" type="text/css" rel="stylesheet" />
<script type="module" src="main.js"></script>
</head>
<body>
<header>
<h1>Log In</h1>
<a href="/register">Register</a>
</header>
{{#if msg}}
<aside>
<p class="msg">{{msg}}</p>
</aside>
{{/if}}
<main>
<form action="/login" method="post">
<p>
<label for="user">Username</label><br />
<input type="text" name="user" placeholder="your username" value="{{body.user}}" autofocus>
</p>
<p>
<label for="pass">Password</label><br />
<input type="password" name="pass" placeholder="your password" value="{{body.pass}}">
</p>
<input type="hidden" name="referrer" value="{{referrer}}">
<p><input type="submit" value="Log in"></p>
</form>
<p><a href="/">Home page</a></p>
</main>
</body>
</html>