{% load static from staticfiles %} {{ widget }} {% if can_change_related %} {% endif %} {% if can_add_related %} {% endif %} {% if can_delete_related %} {% endif %}