mail-account-admin/templates/account_delete.html.twig

40 lines
1.3 KiB
Twig

{% extends "base.html.twig" %}
{% block title %}Delete account{% endblock %}
{% block content %}
<h2>Account: {{ accountUsername }}</h2>
<p>
<b>Actions:</b>
<a href="/accounts/{{ id }}">View</a> |
<a href="/accounts/{{ id }}/edit">Edit</a> |
<span>Delete</span> |
<a href="mailto:{{ accountUsername }}">Send mail</a>
</p>
<h3>Delete account</h3>
<p>You are about to delete the mail account "{{ accountUsername }}" <b>including</b> the following aliases:</p>
<ul>
{% for alias in aliases %}
<li>{{ alias.getMailAddress() }}</li>
{% endfor %}
</ul>
<p><b>Note:</b> This will only delete the account entry from the database. Mail data will not be deleted!</p>
{{ include('includes/form_result_box.html.twig') }}
<div class="confirmation_box">
<p><b>Please confirm that you want to delete this account by entering your password.</b></p>
<form action="/accounts/{{ id }}/delete" method="POST">
<p>
<label for="admin_password">Your password:</label>
<input type="password" id="admin_password" name="admin_password"/>
</p>
<button type="submit">Delete account</button>
</form>
</div>
{% endblock %}