Server IP : 85.214.239.14 / Your IP : 18.116.15.129 Web Server : Apache/2.4.62 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.18 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /srv/modoboa/env/lib64/python3.5/site-packages/modoboa_webmail/templates/modoboa_webmail/ |
Upload File : |
{% load i18n form_tags %} <form class="form-horizontal" method="POST" action="{{ posturl }}" id="composemail"> {% csrf_token %} {{ form.origmsgid }} <div id="compose-container"> <div id="mailheader"> {% render_field form.from_ label_width="col-sm-1" %} <div class="form-group{% if form.errors.to %} has-error{% endif %}"> {# handling to field #} <label class="col-sm-1 control-label" for="id_to">{% trans "To" %}</label> <div class="col-sm-8"> <input id="id_to" name="to" class="form-control selectize-contact" value='{% if form.to.value %}{{ form.to.value }}{% endif %}' placeholder="{% trans "Enter one or more addresses." %}"> {% if form.to.errors %} {% for error in form.to.errors %} <p class="help-block">{{ error }}</p> {% endfor %} {% endif %} </div> {# handling cc and bcc buttons #} {% if not form.cc.value or not form.bcc.value %} <div class="col-sm-2"> {% if not form.cc.value %} <button id="add_cc" class="btn btn-default btn-xs"> <span class="fa fa-plus"></span> {% trans "Cc" %} </button> {% endif %} {% if not form.bcc.value %} <button id="add_bcc" class="btn btn-default btn-xs"> <span class="fa fa-plus"> {% trans "Bcc" %}</span> </button> {% endif %} </div> {% endif %} </div> {# display cc field when required #} {% if form.cc.value %} {% render_field form.cc label_width="col-sm-1" %} {% else %} {% render_field form.cc label_width="col-sm-1" hidden=True %} {% endif %} {# display bcc field when required #} {% if form.bcc.value %} {% render_field form.bcc label_width="col-sm-1" %} {% else %} {% render_field form.bcc label_width="col-sm-1" hidden=True %} {% endif %} {% render_field form.subject label_width="col-sm-1" %} </div> <div id="body_container"> {{ form.body }} </div> </div> </form>