Permalink
Cannot retrieve contributors at this time
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?
dynamic-websites/exercises/07_forms_auth/views/register.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
26 lines (24 sloc)
910 Bytes
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
<!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> |