2022-06-29 11:28:26 +02:00
|
|
|
{% extends "default.html" %}
|
2021-02-17 12:56:28 +01:00
|
|
|
|
|
|
|
{% set active_page = "dashboard" %}
|
2022-06-29 11:28:26 +02:00
|
|
|
{% block title %}Receive {{ alias.email }}{% endblock %}
|
2021-02-17 12:56:28 +01:00
|
|
|
{% block default_content %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
2021-02-17 12:56:28 +01:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-body">
|
|
|
|
<h1 class="h3">Receive {{ alias.email }}</h1>
|
|
|
|
<p>
|
|
|
|
You are invited to become the owner of the alias <b>{{ alias.email }}</b>
|
|
|
|
</p>
|
2022-07-04 16:01:04 +02:00
|
|
|
<p>Please choose the mailbox(es) that owns this alias 👇</p>
|
2021-02-17 12:56:28 +01:00
|
|
|
<form method="post" class="mt-2">
|
2022-06-29 11:28:26 +02:00
|
|
|
<select data-width="100%" class="mailbox-select" multiple name="mailbox_ids">
|
2021-02-17 12:56:28 +01:00
|
|
|
{% for mailbox in mailboxes %}
|
2022-06-29 11:28:26 +02:00
|
|
|
|
|
|
|
<option value="{{ mailbox.id }}"
|
|
|
|
{% if mailbox.id == current_user.default_mailbox_id %} selected{% endif %}>
|
2021-02-17 12:56:28 +01:00
|
|
|
{{ mailbox.email }}
|
|
|
|
</option>
|
|
|
|
{% endfor %}
|
|
|
|
</select>
|
|
|
|
<button class="btn btn-success mt-2">Confirm</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
2022-06-29 11:28:26 +02:00
|
|
|
{% block script %}<script>$('.mailbox-select').multipleSelect();</script>{% endblock %}
|