added login form from tutorial

This commit is contained in:
2019-08-19 22:19:05 -05:00
parent b0b1d58939
commit b19a44a6e9
6 changed files with 63 additions and 0 deletions

14
app/templates/base.html Normal file
View File

@@ -0,0 +1,14 @@
<html>
<head>
{% if title %}
<title>{{ title }} - Microblog</title>
{% else %}
<title>Welcome to Microblog</title>
{% endif %}
</head>
<body>
<div>Microblog: <a href="/index">Home</a></div>
<hr>
{% block content %}{% endblock %}
</body>
</html>