summaryrefslogtreecommitdiff
path: root/app/templates/home.html
blob: 88200460a7183f5068690bf223419b0e664a9f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<body style="background: purple; color: white">
<h1>Welcome to 1337cow brother</h1>
<form method="POST" action="/message">
	<label>Email</label>
	<input type="text" name="email">
	<br>
	<label>Name</label>
	<input type="text" name="name">
	<br>
	<label>Message</label>
	<textarea name="message"></textarea>
	<br>
	<input type="submit" value="Do it">
</form>

<h2>Here is what users are saying...</h2>
{% for post in posts %}
<strong>Name:</strong>{{ post["name"] }}
<br>
<strong>Email:</strong>{{ post["email"] }}
<br>
<strong>Message:</strong>"{{ post["message"] }}"
<br>
<hr>
{% endfor %}
</body>