mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
this feature). Back to previous 'locale' location because it's not possible to access translations that are defined inside the 'templates' directory while scanning with django-admin.py from the 'admin' directory.
18 lines
665 B
HTML
18 lines
665 B
HTML
{% extends "admin/layout_simple.html" %}
|
|
{% block html_head %}
|
|
<script src="/static/js/form.js" type="text/javascript"></script>
|
|
{% endblock %}
|
|
{% block content %}
|
|
{% load i18n %}
|
|
<div class="title"><h1>Alias {{ alias.address }}</h1></div>
|
|
{% if error %}<div class="error">{{ error }}</div>{% endif %}
|
|
{% url admin.views.editalias alias.mbox.domain.id alias.id as edit_url %}
|
|
<form action="{{ edit_url }}" method="POST" id="aliasform" name="aliasform">
|
|
{% include "admin/genericform.html" %}
|
|
<div class="spacer"></div>
|
|
<div class="lastrow" align="center">
|
|
<input type="submit" name="submit" value="{% trans 'Update' %}" />
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|