mirror of
https://github.com/actix/examples
synced 2025-06-27 01:27:43 +02:00
Restructure folders (#411)
This commit is contained in:
committed by
GitHub
parent
9db98162b2
commit
c3407627d0
39
forms/form/static/form.html
Normal file
39
forms/form/static/form.html
Normal file
@ -0,0 +1,39 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset=utf-8>
|
||||
<title>Forms</title>
|
||||
</head>
|
||||
<body>
|
||||
<h3>Will hit handle_post_1</h3>
|
||||
<form action=/post1 method=POST>
|
||||
<label>
|
||||
Name:
|
||||
<input name="name">
|
||||
</label>
|
||||
<button type=submit>Submit form</button>
|
||||
</form>
|
||||
|
||||
<hr>
|
||||
|
||||
<h3>Will hit handle_post_2</h3>
|
||||
<form action=/post2 method=POST>
|
||||
<label>
|
||||
Name:
|
||||
<input name="name">
|
||||
</label>
|
||||
<button type=submit>Submit form</button>
|
||||
</form>
|
||||
|
||||
<hr>
|
||||
|
||||
<h3>Will hit handle_post_3</h3>
|
||||
<form action=/post3 method=POST>
|
||||
<label>
|
||||
Name:
|
||||
<input name="name">
|
||||
</label>
|
||||
<button type=submit>Submit form</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user