{% extends 'layouts/base.njk' %} {% set title = app.name + ' - Backend' %} {% block body %}
{{ macros.breadcrumb(mailbox.userName + ' - ' + mailbox.name, [ {title: 'Backend', link: route('backend')}, {title: 'Mailboxes', link: route('backend-mailboxes')} ]) }}

Mailbox: {{ mailbox.userName }} - {{ mailbox.name }}

Identities

{% for identity in identities %} {% endfor %}
# Email Actions
{{ identity.id }} {{ identity.email }}
{{ macros.csrf(getCsrfToken) }}

{% if mailboxIdentity == null %}Create a mailbox{% else %}Create a new mail identity{% endif %}

{{ macros.field(_locals, 'text', 'name', user.name, 'Email name', null, 'required') }} @ {{ macros.field(_locals, 'select', 'mail_domain_id', null, 'Choose the email domain', null, 'required', domains) }}
{{ macros.csrf(getCsrfToken) }}
{% endblock %}