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

28 lines
790 B
Handlebars
Raw Normal View History

<!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 message}}
<p>{{#if kind}}{{kind}}: {{/if}}{{ message }}</p>
{{/if}}
<form action="/session/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>
<a href="/">Home</a>
</body>
</html>