pyward / templates /forward.html
rull's picture
Update templates/forward.html
16f620b verified
raw
history blame
1.32 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Modern Form Example</title>
<style>
/* Basic styles for a clean and modern look */
body {
font-family: sans-serif;
margin: 20px;
}
.form-container {
display: flex;
flex-direction: column;
gap: 10px;
border: 1px solid #ddd;
padding: 20px;
border-radius: 5px;
}
.form-label {
font-weight: bold;
margin-bottom: 5px;
}
.form-input {
padding: 10px;
border: 1px solid #ccc;
border-radius: 3px;
}
.form-button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
}
</style>
</head>
<body>
<h1>{{content}}</h1>
<div class="form-container">
<label for="name" class="form-label">Your Name:</label>
<input type="text" id="name" name="name" class="form-input" placeholder="Enter your name">
<label for="email" class="form-label">Email Address:</label>
<input type="email" id="email" name="email" class="form-input" placeholder="Enter your email">
<button type="submit" class="form-button">Submit</button>
</div>
</body>
</html>