{% load i18n flag_tags heroicons %}
{% with submission|flagged_by:user as is_flagged %} {% endwith %} {% if request.user.is_apply_staff %} {% with submission|flagged_staff as is_flagged %} {% endwith %} {% endif %}