Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- </head>
- <body>
- <h1>Home Page</h1>
- <form action="/" method="post">
- weight: <input type="text" name="weight">
- Height: <input type="text" name="height">
- <button type="submit">Calculate</button>
- </form>
- {% if bmihtml %}
- {{ bmihtml }}
- {% endif %}
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement