29 lines
529 B
HTML
29 lines
529 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Contact</title>
|
|
</head>
|
|
<body>
|
|
|
|
{% for category, message in get_flashed_messages(with_categories=true) %}
|
|
<spam class="{{ category }}">{{ message }}</spam>
|
|
{% endfor %}
|
|
|
|
<form action="" method="post">
|
|
|
|
{{ form.csrf_token() }}
|
|
|
|
{% for field in form if field.name != "csrf_token" %}
|
|
<p>{{ field.label() }}</p>
|
|
<p>{{ field }}
|
|
{% for error in field.errors %}
|
|
{{ error }}
|
|
{% endfor %}
|
|
</p>
|
|
{% endfor %}
|
|
|
|
</form>
|
|
|
|
</body>
|
|
</html> |