{% if object.red_flags.all %} {% include 'bi/flag.html' %} {% endif %}