Fix test form and move to public directory to make it easily available

The form is helpful for development. moving it to the public folder makes
it available from http://localhost:3000/testform.html
This commit is contained in:
2020-04-14 11:48:53 +02:00
parent edf6884647
commit 43b044d60f
2 changed files with 1 additions and 2 deletions

29
public/testform.html Normal file
View File

@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<title>Tinyforms</title>
</head>
<body>
<h1>Test form</h1>
<form method="post" action="" enctype="multipart/form-data">
<p>
<label>Text</label>
<input type="text" name="text">
</p>
<p>
<label>Array</label>
<input type="checkbox" name="array[]" value="1">
<input type="checkbox" name="array[]" value="2">
<input type="checkbox" name="array[]" value="3">
</p>
<p>
<label>File</label>
<input type="file" name="file">
</p>
<input type="submit" value="senden">
</form>
</body>
</html>