forked from web/dynamic-websites
Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
<!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="style.css" type="text/css" rel="stylesheet" /> | ||
</head> | ||
<body> | ||
<h1>Create an Account</h1> | ||
<form action="/register" enctype="multipart/form-data" method="post"> | ||
<p>Username:<br /><input type="text" name="user" placeholder="your preferred username (no spaces)" value=""></p> | ||
<p>Password:<br /><input type="password" name="pass" placeholder="your chosen password" value=""></p> | ||
<p>Nationality:<br /><select name="country"> | ||
{{#each countries}} | ||
<option value="{{this}}">{{this}}</option> | ||
{{/each}} | ||
</select></p> | ||
<p>Profile Picture:<br /><input type="file" name="avatar"></p> | ||
<p><input type="submit" value="Create"></p> | ||
</form> | ||
</body> | ||
</html> |