Advertisement
horozov86

index.html

Jan 16th, 2024
879
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.31 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>Task App</title>
  6. </head>
  7. <body>
  8.     {% if tasks_list %}
  9.     {% for task in tasks_list %}
  10.     <h1>{{ task.task_title }}</h1>
  11.     <p>{{ task.task_text }}</p>
  12.     {% endfor %}
  13.     {% else %}
  14.     <p>There are no created tasks!</p>
  15.     {% endif %}
  16. </body>
  17. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement