I have a small python application, it have backend, frontend, and sqllite3 db I run backend and frontend when I hit on the frontend url I am getting an error
File "C:\Users\username\Downloads\files\templates\index.html", line 27, in template
<td {%="" if="" entry.status="='done'" %}="" class="done" endif="">{{ entry.what_to_do|safe }}</td>
jinja2.exceptions.TemplateSyntaxError: tag name expected
192.168.0.33 - - [01/Jul/2022 11:44:15] "GET / HTTP/1.1" 500 -
192.168.0.33 - - [01/Jul/2022 11:44:15 ] "GET /favicon.ico HTTP/1.1" 404 -
any help will be appreciated
<td>
<button onclick="location.href='/mark/{{entry.what_to_do|urlencode}}'">mark as done </button>
<button onclick="location.href='/delete/{{entry.what_to_do|urlencode}}'">delete</button>
</td>
this is the line of code where I am getting that error