Add anonymous export option

This commit is contained in:
Nicolas Le Goff
2012-10-24 16:16:49 +02:00
parent a0327024a5
commit 103e46891a
3 changed files with 15 additions and 5 deletions

View File

@@ -83,7 +83,11 @@
</div>
<div style="display:none">
<form name="download" action="{{ path('document_download', {'token': token}) }}" method="post" target="file_frame"></form>
<form name="download" action="{{ path('document_download', {'token': token}) }}" method="post" target="file_frame">
{% if anonymous %}
<input type="hidden" name="anonymous" value="1" />
{% endif%}
</form>
<iframe name="file_frame"></iframe>
</div>