26 lines
726 B
HTML
26 lines
726 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Form</title>
|
|
<link rel="stylesheet" href="/static/style.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Submit Your Information</h1>
|
|
<button id="dark-mode-toggle">Toggle Dark Mode</button>
|
|
<form action="/submit" method="post">
|
|
{{range .}}
|
|
<label>{{.QuestionText}}:</label>
|
|
<input type="{{.QuestionType}}" name="custom_{{.ID}}" required><br><br>
|
|
{{end}}
|
|
|
|
<input type="submit" value="Submit">
|
|
</form>
|
|
</div>
|
|
|
|
<script src="/static/theme.js"></script>
|
|
</body>
|
|
</html>
|