Skip to content
Permalink
a71d10e3ec
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
36 lines (34 sloc) 949 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" />
</head>
<body>
<header>
<h1>Log In</h1>
<a href="/register">Register</a>
</header>
{{#if msg}}
<p class="msg">{{msg}}</p>
{{/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>