{% extends 'SonataAdminBundle:CRUD:base_list_field.html.twig' %}

{#{% block field%}
    <div>
        <img src="{{ app.path.product_images ~ product.img | imagine_filter('gallery_element_admin') }}" />
        <img src="{{ vich_uploader_asset(product, 'img') }}" alt="{{ product.name }}" />
    </div>
{% endblock %}#}

{% block field %}
    {% if(object.specifications != NULL) %}
        <p>{{ object.specifications | truncate(100) | raw }}</p>
    {% else %}
        No Specifications
    {% endif%} <br/>

{% endblock %}