Rocket/examples/session/templates/login.html.hbs

26 lines
728 B
Handlebars

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Rocket: Sessions</title>
</head>
<body>
<h1>Rocket Session: Please Login</h1>
<p>Please login to continue.</p>
{{#if flash}}
<p>Error: {{ flash }}</p>
{{/if}}
<form action="/login" method="post" accept-charset="utf-8">
<label for="username">username</label>
<input type="text" name="username" id="username" value="" />
<label for="password">password</label>
<input type="password" name="password" id="password" value="" />
<p><input type="submit" value="login"></p>
</form>
</body>
</html>