mirror of
https://github.com/actix/actix-website
synced 2025-06-29 16:24:58 +02:00
Adds to workspace to test all code actually functions.
This commit is contained in:
30
examples/front-page/easy-form-handling/static/form.html
Normal file
30
examples/front-page/easy-form-handling/static/form.html
Normal file
@ -0,0 +1,30 @@
|
||||
<!doctype htmtl>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Forms</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h3>Will hit handle_post_1</h3>
|
||||
|
||||
<form action=/register method=POST>
|
||||
|
||||
<label>
|
||||
Name:
|
||||
<input name="username">
|
||||
</label>
|
||||
|
||||
<label>
|
||||
Country:
|
||||
<input name="country">
|
||||
</label>
|
||||
|
||||
<button type=submit>Submit</button>
|
||||
|
||||
</form>
|
||||
|
||||
<hr>
|
||||
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user