blob: 1ff2355672a32e1a1c57a858cac4b5b65f6de647 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!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 style="max-width:1024px; margin:0 auto">
<form method="POST" class="form-horizontal" action="/submit">
{% for field in form %}
<div class="form-group">
<label class="control-label col-md-2" for="{{ field.id }}">
{{ field.label.text }}
</label>
<div class="col-md-3">
{{ field(class_="form-control") }}
</div>
</div>
{% endfor %}
</form>
</body>
</html>
|