Created
September 23, 2020 11:10
-
-
Save angelabauer/81c9f4512a14c3cb04ba03540888875d to your computer and use it in GitHub Desktop.
Simple HTML Form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<form> | |
<label>Name</label> | |
<input type="text" placeholder="name"> | |
<label>Password</label> | |
<input type="text" placeholder="password"> | |
<button type="submit">Ok</button> | |
</form> | |
</body> | |
</html> |
for me the render_template('index.html') worked only when the file was in the templates directory
Thank you for mentioning this, mine also did not work for the life of me lol, and saw this comment and boom works :)
Username:
Password:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how is it going?