Skip to content
Permalink
master
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Create an Account</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>Create an Account</h1>
<a href="/login">Log in</a>
</header>
{{#if msg}}
<aside>
<p class="msg">{{msg}}</p>
</aside>
{{/if}}
<main>
<form action="/register" enctype="multipart/form-data" method="post">
<p>
<label for="user">Username</label><br />
<input type="text" name="user" placeholder="your preferred username (no spaces)" value="{{body.user}}">
</p>
<p>
<label for="pass">Password</label><br />
<input type="password" name="pass" placeholder="your chosen password" value="{{body.pass}}">
</p>
<p>
<label for="email">Email</label><br />
<input type="email" name="email" placeholder="a valid email address" value="{{body.email}}">
</p>
<p><input type="submit" value="Create"></p>
</form>
</main>
</body>
</html>