mirror of https://github.com/rwf2/Rocket.git
23 lines
586 B
HTML
23 lines
586 B
HTML
|
<!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 have_message %}
|
||
|
<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>
|