2016-08-07 06:14:05 +00:00
|
|
|
<!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>
|
2016-10-09 04:02:42 +00:00
|
|
|
{% if message is defined %}
|
2016-08-07 06:14:05 +00:00
|
|
|
<p>{{ message }}</p>
|
|
|
|
{% else %}
|
|
|
|
<p>No message yet.</p>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<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>
|