Skip to content

Instantly share code, notes, and snippets.

@angelabauer
Created September 23, 2020 11:10
Show Gist options
  • Save angelabauer/81c9f4512a14c3cb04ba03540888875d to your computer and use it in GitHub Desktop.
Save angelabauer/81c9f4512a14c3cb04ba03540888875d to your computer and use it in GitHub Desktop.
Simple HTML Form
<!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>
@DestinyMor
Copy link

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 :)

@MrShapol
Copy link

Username: Password:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment