blob: d70b04265e76c62fe15a782955362dddbf3e15ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{% block body %}
{% if session['logged_in'] %}
You're logged in already!
{% else %}
<form action="/login" method="POST">
<p><input type="username" name="username" placeholder="邮箱地址、电话号码"></p>
<p><input type="password" name="password" placeholder="密码"></p>
<p><input type="submit" value="登录"></p>
</form>
{% endif %}
{% endblock %}
|