{% load base_tags %} {% load perm_tags %} {% has_perm user locations.change_location opt_object as can_edit %} {% has_perm user locations.delete_location opt_object as can_delete %} {% if can_edit %}
{{ opt_object.status_detail|capfirst }} {% trans "Edit" %}
{% trans "More options" %}
{% endif %}