{% load static %}
{% for attachment in policy.attachments.all %} {% if perms.employee.delete_policy %} {% else %} {% endif %} {% endfor %} {% if perms.employee.add_policy %} {% csrf_token %} {% endif %}