mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-22 06:28:41 +02:00
It is a really simple implementation but I think it will be enough for a begining. Users can add multiple attachments with a message, each attachment must not be larger than a customizable limit. see #38
32 lines
985 B
HTML
32 lines
985 B
HTML
{% load i18n %}
|
|
<form method="POST" action="{{ posturl }}" id="composemail">
|
|
<div id="compose-container">
|
|
<div id="mailheader">
|
|
{% include "common/genericform.html" %}
|
|
<div id="attachments" name="{% url extensions.webmail.views.attachments %}">
|
|
<div>
|
|
<img src="{{ MEDIA_URL }}pics/attachment.png" />
|
|
{% trans "Attachments" %}
|
|
</div>
|
|
<div id="list">
|
|
{% blocktrans count attachments|length as counter %}
|
|
{{ counter }} file
|
|
{% plural %}
|
|
{{ counter }} files
|
|
{% endblocktrans %}
|
|
<span class="shortlist">{{ short_att_list }}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="spacer"></div>
|
|
{% if body %}
|
|
<textarea id="id_body" name="id_body" class="editor">{% if bodyheader %}{{ bodyheader }}{% endif %}
|
|
{{ body }}
|
|
</textarea>
|
|
{% else %}
|
|
<textarea id="id_body" name="id_body" class="editor"></textarea>
|
|
{% endif %}
|
|
</div>
|
|
</form>
|
|
|