{% extends "SsoDemoBundle:Layout:base.html.twig" %}

{% block body %}
    <h1>Webservice data model check</h1>
    {% if invalidObjects %}
        <div class="alert alert-danger">
            <p>Detected invalid records!</p>
        </div>
        <ul>
            {% for obj in invalidObjects %}
                <li>
                    <a href="{{ path('_admin_backend_webservice_object_show', { 'objectId': obj.guid }) }}">{{ obj.guid }}</a>: {{ obj.name }}
                </li>
            {% endfor %}
        </ul>
    {% else %}
        <div class="alert alert-info">
            <p>Data model seems to be valid!</p>
        </div>
    {% endif %}
{% endblock %}
