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

{% block title %}{{ parent() }} - Show{% endblock %}

{% block body %}
    <h1>UserApplication - Show</h1>
    {% include 'SsoDemoBundle:Layout:form.html.twig' %}
    {% include 'SsoDemoBundle:UserApplication/javascripts:showdetails.html.twig' %}
    <h3>Help</h3>
    {% include 'SsoHelpBundle:User:identify.html.twig' %}
    <p>The &quot;ApplicationType&quot;-tag ist optional. You may this tag with the &quot;Active&quot;-tag
        set to 0 or 1, to get only inactive or active applications. If you leave it empty, the &quot;ApplicationType&quot;-tag
        is not send and you'll get a list of active and inactive applications for selected user.
    </p>

    <div class="panel-group" id="accordion">

        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-parent="#accordion" href="#collapseApplicationShowDetailsRequest">
                        Request Example
                    </a>
                </h4>
            </div>
            <div id="collapseApplicationShowDetailsRequest" class="panel-collapse collapse">
                <div class="panel-body">

                    <h3>Request Example:</h3>
                    {% include 'SsoHelpBundle:UserApplication:xml/show.html.twig' %}

                </div>
            </div>
        </div>

        <br/>

        <div class="panel panel-default">
            <div class="panel-heading">
                <h4 class="panel-title">
                    <a data-toggle="collapse" data-parent="#accordion" href="#collapseApplicationShowDetailsResponse">
                        Response Success Example
                    </a>
                </h4>
            </div>
            <div id="collapseApplicationShowDetailsResponse" class="panel-collapse collapse">
                <div class="panel-body">

                    <h3>Response Success Example:</h3>
                    {% include 'SsoHelpBundle:UserApplication:xml/response/show.html.twig' %}

                </div>
            </div>
        </div>

    </div>
{% endblock %}
