Advertisement
dimkiriakos

bmi_template

Mar 17th, 2022
1,024
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.54 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7.     <title>Document</title>
  8. </head>
  9. <body>
  10.     <h1>Home Page</h1>
  11.     <form action="/" method="post">
  12.         weight: <input type="text" name="weight">
  13.         Height: <input type="text" name="height">
  14.         <button type="submit">Calculate</button>
  15.     </form>
  16.     {% if bmihtml %}
  17.         {{ bmihtml }}
  18.     {% endif %}
  19. </body>
  20. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement