1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-16 10:59:53 +02:00
Mailu/admin/mailu/templates/alias/create.html

27 lines
672 B
HTML

{% extends "base.html" %}
{% block title %}
{% trans %}Create alias{% endtrans %}
{% endblock %}
{% block subtitle %}
{{ domain }}
{% endblock %}
{% block box_content %}
<form class="form" method="post" role="form">
{{ form.hidden_tag() }}
{{ macros.form_field(form.localpart, append='<span class="input-group-addon">@'+domain.name+'</span>') }}
{{ macros.form_field(form.wildcard) }}
{{ macros.form_field(form.destination, id='destination') }}
{{ macros.form_field(form.comment) }}
{{ macros.form_field(form.submit) }}
<script>
$("#destination").select2({
tags: true,
tokenSeparators: [',', ' ']
})
</script>
</form>
{% endblock %}