docbow/docbow_project/docbow/templates/docbow/send_file.html

51 lines
1.4 KiB
HTML

{% extends "docbow/base_user.html" %}
{% load i18n %}
{% block extra_scripts %}
{{ form.media }}
{% endblock %}
{% block title %}
{% trans "send-file_menu" %}
{% endblock %}
{% block main-column %}
<div id="send-file-form" {% if url %}data-init-url="{{url}}"{% endif %}>
<form action="{{ form_action }}" class="uniForm" method="post" enctype="multipart/form-data">
{% csrf_token %}
{% include "docbow/errors.html" with error_form=form %}
<div id="div_id_filetype" class="ctrlHolder">
<label>Type de document</label>
<span>{{ form.file_type.name }}</span>
</div>
{% if form.sender %}
{% include "docbow/field.html" with field=form.sender %}
{% endif %}
{% for content_field in form.template_content_fields %}
{% include "docbow/field.html" with field=content_field %}
{% endfor%}
{% if form.private %}
{% include "docbow/field.html" with field=form.private %}
{% endif %}
{% include "docbow/field.html" with field=form.recipients %}
{% if form.extra_senders %}
{% include "docbow/extra_senders_field.html" with field=form.extra_senders %}
{% endif %}
{% include "docbow/field.html" with field=form.comment %}
<div class="buttonHolder">
<input name="send" value="{% trans 'Envoyer le document' %}" class="submit submitButton" id="submit-id-send" type="submit">
</div>
</form>
</div>
{% endblock %}