blob: 3fb8248a56ee9b1be6fd8c4f2cee05857517f76c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
</head>
<body>
<form class="form-inline" method="POST" action="/submit">
{% for field in form %}
<div class="form-group">
<label for="{{ field.id }}" class="sr-only">
{{ field.label.text }}
</label>
{{ field(class_="form-control") }}</div>
{% endfor %}
</form>
</body>
</html>
|