rainbox.email/views/backend/mail_domain.njk

25 lines
825 B
Plaintext
Raw Normal View History

2020-07-30 10:58:51 +02:00
{% extends 'layouts/base.njk' %}
{% set title = app.name + ' - Backend' %}
{% block body %}
<div class="container">
{{ macros.breadcrumb('Mail domain: ' + domain.name, [
{title: 'Backend', link: route('backend')},
{title: 'Mailboxes', link: route('backend-mailboxes')}
]) }}
2020-07-30 11:07:31 +02:00
<div class="panel">
2020-07-30 10:58:51 +02:00
<i data-feather="mail"></i>
<h1>Mail domain: {{ domain.name }}</h1>
<form action="{{ route('backend-edit-domain', domain.id) }}" method="POST">
{{ macros.field(_locals, 'select', 'user_id', domain.user_id, 'Owner', null, 'required', users) }}
<button><i data-feather="check"></i> Update</button>
{{ macros.csrf(getCSRFToken) }}
</form>
2020-07-30 11:07:31 +02:00
</div>
2020-07-30 10:58:51 +02:00
</div>
{% endblock %}