{{ _("Create new domain") }}

{% c_csrf_token %}
{% if validationErrors.domainName.count %}
{{ validationErrors.domainName.0 }}
{% endif %} {{ help.domainName.text }}
{% if not domainAsPrefix %}
{% if validationErrors.prefix.count %}
{{ validationErrors.prefix.0 }}
{% endif %} {{ help.prefix.text }}
{% endif %}
{% if validationErrors.maxAccounts.count %}
{{ validationErrors.maxAccounts.0 }}
{% endif %} {{ help.maxAccounts.text }}
{% if validationErrors.domainQuota.count %}
{{ validationErrors.domainQuota.0 }}
{% endif %} {{ help.domainQuota.text }}
{% if validationErrors.quota.count %}
{{ validationErrors.quota.0 }}
{% endif %} {{ help.quota.text }}
{% if validationErrors.parent.count %}
{{ validationErrors.parent.0 }}
{% endif %} {{ help.parent.text }}
{% if validationErrors.transport.count %}
{{ validationErrors.transport.0 }}
{% endif %} {{ help.transport.text }}
{% if validationErrors.autoconfig.count %}
{{ validationErrors.autoconfig.0 }}
{% endif %} {{ help.autoconfig.text }}
{{ _("User name and address constraints") }}
{{ help.freeNames.text }}
{{ help.freeAddress.text }}
{{ _("Role accounts") }}
{% i18n_var "Select an account" as s2ph %}
{% if validationErrors.abuseAccount.count %}
{{ validationErrors.abuseAccount.0 }}
{% endif %} {{ help.abuseAccount.text }}
{% if validationErrors.nocAccount.count %}
{{ validationErrors.nocAccount.0 }}
{% endif %} {{ help.nocAccount.text }}
{% if validationErrors.securityAccount.count %}
{{ validationErrors.securityAccount.0 }}
{% endif %} {{ help.securityAccount.text }}
{% if validationErrors.postmasterAccount.count %}
{{ validationErrors.postmasterAccount.0 }}
{% endif %} {{ help.postmasterAccount.text }}
{% if validationErrors.hostmasterAccount.count %}
{{ validationErrors.hostmasterAccount.0 }}
{% endif %} {{ help.hostmasterAccount.text }}
{% if validationErrors.webmasterAccount.count %}
{{ validationErrors.webmasterAccount.0 }}
{% endif %} {{ help.webmasterAccount.text }}
{{ _("Default folders") }}
{% with "sentFolder" as id %} {% with help.sentFolder.title as label %} {% with help.sentFolder.text as helpText %} {% with validationErrors.sentFolder.count as errorCount %} {% with validationErrors.sentFolder.0 as errorText %} {% with sentFolder as value %} {% i18nc_var "Placeholder for default sent folder input field" "Sent messages" as sentFolderPlaceholder %} {% with sentFolderPlaceholder as placeholder %} {% include "inc/forms/inputfield.html" %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% with "draftsFolder" as id %} {% with help.draftsFolder.title as label %} {% with help.draftsFolder.text as helpText %} {% with validationErrors.draftsFolder.count as errorCount %} {% with validationErrors.draftsFolder.0 as errorText %} {% with draftsFolder as value %} {% i18nc_var "Placeholder for default drafts folder input field" "Drafts" as draftsFolderPlaceholder %} {% with draftsFolderPlaceholder as placeholder %} {% include "inc/forms/inputfield.html" %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% with "trashFolder" as id %} {% with help.trashFolder.title as label %} {% with help.trashFolder.text as helpText %} {% with validationErrors.trashFolder.count as errorCount %} {% with validationErrors.trashFolder.0 as errorText %} {% with trashFolder as value %} {% i18nc_var "Placeholder for default trash folder input field" "Trash" as trashFolderPlaceholder %} {% with trashFolderPlaceholder as placeholder %} {% include "inc/forms/inputfield.html" %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% with "junkFolder" as id %} {% with help.junkFolder.title as label %} {% with help.junkFolder.text as helpText %} {% with validationErrors.junkFolder.count as errorCount %} {% with validationErrors.junkFolder.0 as errorText %} {% with junkFolder as value %} {% i18nc_var "Placeholder for default junk folder input field" "Junk" as junkFolderPlaceholder %} {% with junkFolderPlaceholder as placeholder %} {% include "inc/forms/inputfield.html" %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% with "archiveFolder" as id %} {% with help.archiveFolder.title as label %} {% with help.archiveFolder.text as helpText %} {% with validationErrors.archiveFolder.count as errorCount %} {% with validationErrors.archiveFolder.0 as errorText %} {% with archiveFolder as value %} {% i18nc_var "Placeholder for default archive folder input field" "Archive" as archiveFolderPlaceholder %} {% with archiveFolderPlaceholder as placeholder %} {% include "inc/forms/inputfield.html" %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% with "otherFolders" as id %} {% with help.otherFolders.title as label %} {% with help.otherFolders.text as helpText %} {% with validationErrors.otherFolders.count as errorCount %} {% with validationErrors.otherFolders.0 as errorText %} {% with otherFolders as value %} {% i18nc_var "Placeholder for other default folder input fields" "Templates" as otherFoldersPlaceholder %} {% with otherFoldersPlaceholder as placeholder %} {% include "inc/forms/inputfield.html" %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %} {% endwith %}
{{ _("Cancel") }}