Flask-Workshop/templates/cookies.html

14 lines
344 B
HTML
Raw Normal View History

2020-11-22 13:41:09 +00:00
<html>
<body>
{% if name is none %}
<form method = "POST">
<p><h3>Enter your name:</h3></p>
<p><input type = 'text' name = 'name'/></p>
<p><input type = 'submit' value = 'Send'/></p>
</form>
{% else %}
<p><h3>Hello {{ name }}! I will remember you..</h3></p>
{% endif %}
</body>
</html>