You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
672 B
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 %}
|