22 lines
561 B
HTML
22 lines
561 B
HTML
{% autoescape true %}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Posts</title>
|
|
</head>
|
|
<body>
|
|
<form method="POST">
|
|
<label for="text">Enter new submission:</label>
|
|
<input type="text" name="text" />
|
|
<input type="submit"/>
|
|
|
|
</form>
|
|
{% for post in posts %}
|
|
<p> {{ post[1] }} </p>
|
|
{% endfor %}
|
|
</body>
|
|
</html>
|
|
{% endautoescape %}
|