38 lines
555 B
HTML
38 lines
555 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Would You Rather</title>
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<h1>{{ question[1] }}</h1>
|
|
|
|
<form action="/vote" method="POST">
|
|
|
|
<input
|
|
type="hidden"
|
|
name="qid"
|
|
value="{{ question[0] }}"
|
|
>
|
|
|
|
<button
|
|
type="submit"
|
|
name="vote"
|
|
value="A"
|
|
>
|
|
{{ question[2] }}
|
|
</button>
|
|
|
|
<button
|
|
type="submit"
|
|
name="vote"
|
|
value="B"
|
|
>
|
|
{{ question[3] }}
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</body>
|
|
</html> |