{% block content %} {# Boton para importar imagenes de forma masiva #} {% if is_granted('ROLE_ADMIN') %} {% if app.session.get('providerView') %} {% set provider = app.session.get('providerView') %} {% endif %} {% elseif is_granted('ROLE_PROVIDER') %} {% set provider = app.user %} {% endif %}
{{'Import product images'| trans}}

{% if provider is defined %} {{ 'export_products'| trans }}

{% endif %} {{ 'message_form_image_product_label'| trans }}
{{ 'message_form_image_product_format'| trans }}

{{ form_start(import_form) }} {% if not import_form.vars.valid %} {% endif %} {{ form_label(import_form.file) }} {{ form_widget(import_form.file) }} {{ form(import_form) }} {{ form_end(import_form) }}
{% if imageNoSubmit|length > 0 %}
{% endif %}
{% endblock %}