{% load i18n rules %} {% trans "Show" %} {% has_perm 'kort.edit_cardlayout_rule' user card_layout as can_edit %} {% has_perm 'kort.delete_cardlayout_rule' user card_layout as can_delete %} {% if can_edit %} {% trans "Edit" %} {% endif %} {% if can_delete %} {% trans "Delete" %} {% endif %}