{% block vich_file_row -%} {% set force_error = true %} {{- block('form_row') }} {%- endblock %} {% block vich_file_widget %} {% spaceless %}
{{ form_widget(form.file) }} {% if form.delete is defined %} {{ form_row(form.delete) }} {% endif %} {% if download_uri %} {{ translation_domain is same as(false) ? download_label : download_label|trans({}, translation_domain) }} {% endif %}
{% endspaceless %} {% endblock %} {% block vich_image_row -%} {% set force_error = true %} {{- block('form_row') }} {%- endblock %} {% block vich_image_widget %} {% spaceless %}
{{ form_widget(form.file) }} {% if form.delete is defined %} {{ form_row(form.delete) }} {% endif %} {% if image_uri %} {% endif %} {% if download_uri %} {{ translation_domain is same as(false) ? download_label : download_label|trans({}, translation_domain) }} {% endif %}
{% endspaceless %} {% endblock %}