mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-24 15:44:59 +00:00
8 lines
500 B
Twig
8 lines
500 B
Twig
{%- import "@ChillDocStore/Macro/macro.html.twig" as m -%}
|
|
<div class="d-inline-flex"
|
|
data-download-buttons
|
|
data-stored-object="{{ document_json|json_encode|escape('html_attr') }}"
|
|
data-can-edit="{{ can_edit ? '1' : '0' }}"
|
|
{% if options['small'] is defined %}data-button-small="{{ options['small'] ? '1' : '0' }}"{% endif %}
|
|
{% if title|default(document.title)|default(null) is not null %}data-filename="{{ title|default(document.title)|escape('html_attr') }}"{% endif %}></div>
|