{% extends "layout.html" %}
{% from "_macros.html" import render_field_with_errors, render_field %}

{% block content %}

<h1>{{ _('Delete organization') }} &quot;{{ admin_unit.name }}&quot;</h1>

<p>{{ _('The organization is not deleted immediately. After a period of time, the organization will be deleted. Until then, the deletion can be canceled.') }}</p>

<form action="" method="POST">
  {{ form.hidden_tag() }}

  <div class="card mb-4">
    <div class="card-header">
      {{ _('Organization') }}
    </div>
    <div class="card-body">
      {{ render_field_with_errors(form.name) }}
    </div>
  </div>

  {{ render_field(form.submit) }}

</form>

{% endblock %}
