Rocket/examples/forms/templates/success.html.tera

31 lines
648 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Rocket Form Example</title>
<link rel="stylesheet" href="/chota.min.css">
<style>
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px 10px;
}
</style>
</head>
<body>
<div class="container">
<h1>Success!</h1>
<h3>Submission Data</h3>
<ul>
{% for key, value in values %}
<li><strong>{{ key }}</strong> - {{ value }}</li>
{% endfor %}
</ul>
<a href="/">&lt; Submit Another</a>
</body>
</html>