{% if header.is_sortable %} {{ header.label }} {% if header.is_active %} {% if header.is_ascending %} ▾ {% elif header.is_descending %} ▴ {% endif %} {{ header.priority }} x {% endif %} {% else %} {{ header.label }} {% endif %}