We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f7a4c2d + be10c39 commit 7fc8d73Copy full SHA for 7fc8d73
app.py
@@ -5,4 +5,8 @@
5
@app.route('/home')
6
@app.route('/')
7
def home():
8
- return render_template('home.html')
+ return render_template('home.html')
9
+
10
+@app.route('/login')
11
+def login():
12
+ return render_template('login.html')
templates/index.html
templates/login.html
@@ -0,0 +1,16 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+<head>
4
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>Login</title>
+</head>
+<body>
+ <h1>Login</h1>
+ <form action="/login" method="post">
+ <input type="email" name="email" id="mail" placeholder="Enter email">
+ <input type="password" name="password" id="pass" placeholder="Enter password">
13
+ <input type="button" value="Submit">
14
+ </form>
15
+</body>
16
+</html>
0 commit comments