{% translate "Edit" %} {% if is_deletable %} {% endif %} {% if is_deletable %} {% url 'customers:delete' customer.id as delete_url %} {% translate "Delete the customer?" as dialog_title %} {% translate "The customer is deleted permanently." as dialog_body %} {% translate "Delete" as dialog_confirm %} {% include "components/confirm_dialog.html" with id="confirm-delete-customer" title=dialog_title body=dialog_body action_url=delete_url confirm_label=dialog_confirm %} {% endif %}