SyntaxFix
Write A Post
Hire A Developer
Questions
Why the loop?
You could simply do this:
{% if 'priority' in data %} <p>Priority: {{ data['priority'] }}</p> {% endif %}
When you were originally doing your string comparison, you should have used == instead.
==