{% extends "admin/layout.html" %} {% block title %}{{ _("Delete User") }}{% endblock %} {% block contents %}

{{ _("Delete User") }}

{% call form() %}

{% trans username=form.user.username|e %} Do you really want to delete the user “{{ username }}”? {% endtrans %}

{%- if form.user.posts.count() > 0 %}

{% trans post_count=form.user.posts.count() %} What should happen to the {{ post_count }} post this user wrote? {% pluralize %} What should happen to the {{ post_count }} posts this user wrote? {% endtrans %}

{{ form.action() }}

{{ form.reassign_to.label() }}: {{ form.reassign_to() }} {%- endif %}

{% endcall %} {% endblock %}