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:
29
public/testform.html
Normal file
29
public/testform.html
Normal 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>
|
||||
Reference in New Issue
Block a user