tinyforms/form.html

31 lines
703 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Tinyforms</title>
<meta name="csrf-param" content="authenticity_token" />
</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>