{% extends "org-base.html" %}
{% from "ui.html" import csrf_field, danger_zone with context %}
{% block section %}
{% if user.is_superadmin %}
{{ danger_zone(_("Delete organization"), _("Its members lose access. Git repositories are not touched."), "/o/" ~ org.slug ~ "/-/delete", org.slug,
disabled_reason=_(pl(org_spaces|length, "Delete its space first.", "Delete its {count} spaces first."), count=org_spaces|length) if org_spaces else "") }}