Fixed Folders
This commit is contained in:
parent
b4beb3df46
commit
4a6f2f803b
22
templates/form.html
Normal file
22
templates/form.html
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Simple Web Form</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h2>Enter your information:</h2>
|
||||||
|
<form method="post">
|
||||||
|
<label for="name">Name:</label><br>
|
||||||
|
<input type="text" id="name" name="name" required><br>
|
||||||
|
<label for="phone">Phone Number:</label><br>
|
||||||
|
<input type="tel" id="phone" name="phone" pattern="[0-9]{3}-[0-9]{3}-[0-9]{4}" placeholder="123-456-7890" required><br>
|
||||||
|
<label for="address">Address:</label><br>
|
||||||
|
<input type="text" id="address" name="address" required><br>
|
||||||
|
<label for="comments">Comments:</label><br>
|
||||||
|
<textarea id="comments" name="comments" rows="4" cols="50"></textarea><br><br>
|
||||||
|
<input type="submit" value="Submit">
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
15
templates/greet.html
Normal file
15
templates/greet.html
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Greeting</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h2>Hello, {{ name }}!</h2>
|
||||||
|
<p>Your phone number is: {{ phone }}</p>
|
||||||
|
<p>Your address is: {{ address }}</p>
|
||||||
|
<p>Comments:</p>
|
||||||
|
<p>{{ comments }}</p>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user