36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<script src="/bundle.js"></script>
|
|
<link href="css/bootstrap.min.css" rel="stylesheet" />
|
|
</head>
|
|
<body>
|
|
<form action="/form">
|
|
<div class="m-2">
|
|
<label class="form-label">Name</label>
|
|
<input name="name" class="form-control" />
|
|
</div>
|
|
<div class="m-2">
|
|
<label class="form-label">City</label>
|
|
<input name="city" class="form-control" />
|
|
</div>
|
|
<div class="m-2">
|
|
<label class="form-label">File</label>
|
|
<input name="datafile" type="file" class="form-control" />
|
|
</div>
|
|
<div class="m-2">
|
|
<button class="btn btn-primary" formmethod="get">
|
|
Submit (GET)
|
|
</button>
|
|
<button class="btn btn-primary" formmethod="post">
|
|
Submit (POST)
|
|
</button>
|
|
<button class="btn btn-primary" formmethod="post"
|
|
formenctype="multipart/form-data">
|
|
Submit (POST/MIME)
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</body>
|
|
</html>
|