rainbox.email/views/backend/mail_domain.njk

26 lines
815 B
Plaintext
Raw Permalink 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(domain.name, [
2020-07-30 10:58:51 +02:00
{title: 'Backend', link: route('backend')},
{title: 'Mail domains', link: route('backend-mail-domains')}
2020-07-30 10:58:51 +02:00
]) }}
2020-07-30 11:07:31 +02:00
<div class="panel">
2020-07-30 11:20:31 +02:00
<i data-feather="globe"></i>
2020-07-30 10:58:51 +02:00
<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>
2020-11-02 22:16:51 +01:00
{{ macros.csrf(getCsrfToken) }}
2020-07-30 10:58:51 +02:00
</form>
2020-07-30 11:07:31 +02:00
</div>
2020-07-30 10:58:51 +02:00
</div>
2020-11-02 22:16:51 +01:00
{% endblock %}