Files
modoboa/extensions/webmail/templates/webmail/compose.html
T
tonio a85a8f20b0 wip: #38
First attempt to insert attachments when composing an email. Only the javascript part is available.
2010-11-09 22:22:44 +01:00

28 lines
877 B
HTML

{% load i18n %}
<form method="POST" action="{{ posturl }}" id="composemail">
<div id="compose-container">
<div id="mailheader">
{% include "common/genericform.html" %}
</div>
<div id="attachments">
<h3><img src="{{ MEDIA_URL }}pics/attachment.png" /> {% trans "Attachments" %}</h3>
<div id="finput_container">
<a href="javascript: void(0)"><img src="{{ MEDIA_URL }}pics/add.png" />
{% trans "Add" %}</a>
<input type="file" id="upload_input" name="upload" />
</div>
<ul id="files2upload">
</ul>
</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>