Files
modoboa/templates/common/generic_modal_form.html
T
Antoine Nguyen a295aa1ab6 wip: Global user interface improvment
* Use of jQuery in place of Mootools
* Most of the custom mootools plugins have been ported to jQuery
* Use of bootstrap from Twitter in place of the old CSS
* Most of the admin templates have been reworked
* The sievefilters extension has been ported
* The postfix autoreply extension is almost done
* more...

see #204
2012-03-19 15:13:01 +01:00

21 lines
694 B
HTML

{% load i18n libextras %}
<div class="modal-header">
<a class="close" data-dismiss="modal">x</a>
<h3>{{ title }}</h3>
</div>
<div class="modal-body">
{% if error %}<div class="alert alert-error">{{ error }}</div>{% endif %}
<form class="form-horizontal" action="{{ action }}" enctype="{{ enctype }}"
method="POST" id="{{ formid }}" name="{{ formid }}"
target="{{ target }}">
{% block formbody %}
{% render_form form %}
{% block extrafields %}{% endblock %}
{% endblock %}
</form>
</div>
<div class="modal-footer">
<a href="#" class="btn btn-primary submit">{{ submit_label }}</a>
<a class="btn" data-dismiss="modal">{% trans "Close" %}</a>
</div>