Files
rasbt--python-machine-learn…/code/ch09/1st_flask_app_2/templates/first_app.html
T
2026-07-13 13:38:23 +08:00

23 lines
414 B
HTML

<!doctype html>
<html>
<head>
<title>First app</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
</head>
<body>
{% from "_formhelpers.html" import render_field %}
<div>What's your name?</div>
<form method=post action="/hello">
<dl>
{{ render_field(form.sayhello) }}
</dl>
<input type=submit value='Say Hello' name='submit_btn'>
</form>
</body>
</html>