{% load base_tags %} {% load perm_tags %} {% has_perm user staff.change_staff opt_object as can_edit %} {% has_perm user staff.delete_staff opt_object as can_delete %}