how to use if statement on a table using django templates

You have spaces between the { and %. This is not allowed, the line needs to be:
{% if area.status_ind == '1' %}