{% extends 'VlRadRestBundle:Default:skeleton.html.twig' %}
{% block radrest_content %}
    <div class="panel-heading">
        <h3 class="panel-title">View</h3>
    </div>

    <div class="panel-body">
        <dl class="dl-horizontal">
            {% for key in data|radrest_object_keys %}
                <dt>{{ key|humanize }}</dt>
                <dd>{{ attribute(data, key)|radrest_object_stringify }}</dd>
            {% endfor %}
        </dl>
    </div>
    {% include 'VlRadRestBundle:Default:links.html.twig' %}
{% endblock %}

{% extends 'VlRadRestBundle:Default:skeleton.html.twig' %}
{% block radrest_content %}
    <div class="panel-heading">
        <h3 class="panel-title">View</h3>
    </div>

    <div class="panel-body">
        <dl class="dl-horizontal">
            {% for key in data|radrest_object_keys %}
                <dt>{{ key|humanize }}</dt>
                {% if attribute(data, key)|radrest_object_stringify == '(Array)' %}
                    <dd>
                        {% for elem in attribute(data, key) %}
                            {{ elem|radrest_object_stringify }}<br>
                        {% else %}
                            <span class="text-muted">None</span>
                        {% endfor %}
                    </dd>
                {% else %}
                    <dd>{{ attribute(data, key)|radrest_object_stringify }}</dd>
                {% endif %}
            {% endfor %}
        </dl>
    </div>
    {% include 'VlRadRestBundle:Default:links.html.twig' %}
{% endblock %}

Allow default get view to show elements in an array
Allow default get view to show elements in an array
