mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-18 05:51:26 +02:00
Added more controls on forms validation. see #65 Added messages for CRUD operations on domains/mailboxes/aliases.
19 lines
673 B
HTML
19 lines
673 B
HTML
{% extends "layout_simple.html" %}
|
|
{% load i18n %}
|
|
{% block html_head %}
|
|
<script src="{{ MEDIA_URL }}js/form.js" type="text/javascript"></script>
|
|
{% endblock %}
|
|
{% block content %}
|
|
<div class="title"><h1>{% trans "Mailbox" %} {{ mbox.name }}</h1></div>
|
|
{% if error %}<div class="error">{{ error }}</div>{% endif %}
|
|
{% url admin.views.editmailbox mbox.domain_id mbox.id as box_url %}
|
|
<form action="{{ box_url }}" method="POST" id="mboxform" name="mboxform">
|
|
{% include "common/genericform.html" %}
|
|
<div class="spacer"></div>
|
|
|
|
<div class="lastrow" align="center">
|
|
<input type="submit" name="submit" value="{% trans 'Update' %}" />
|
|
</div>
|
|
</form>
|
|
{% endblock %}
|