mirror of
https://github.com/rwf2/Rocket.git
synced 2024-12-29 05:42:35 +00:00
23 lines
573 B
Handlebars
23 lines
573 B
Handlebars
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title>Rocket: Cookie Examples</title>
|
|
</head>
|
|
<body>
|
|
<h1>Rocket Cookie Examples</h1>
|
|
{{#if message }}
|
|
<p>{{message}}</p>
|
|
{{else}}
|
|
<p>No message yet.</p>
|
|
{{/if}}
|
|
|
|
<form action="/submit" method="post" accept-charset="utf-8">
|
|
<textarea placeholder="Your message here..."
|
|
name="message" rows="10" cols="50"></textarea>
|
|
<p><input type="submit" value="Set Cookie"></p>
|
|
</form>
|
|
</body>
|
|
</html>
|