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

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

{% block body %}
    <h1>UserSearch - Advanced</h1>
    {% include 'SsoDemoBundle:Layout:form.html.twig' %}
    {% include 'SsoDemoBundle:UserSearch/javascripts:advanced.html.twig' %}
    <h3>Help</h3>
    <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="#collapseAdvancedRequest">
                        Request Example
                    </a>
                </h4>
            </div>
            <div id="collapseAdvancedRequest" class="panel-collapse collapse">
                <div class="panel-body">

                    <h3>Request Example:</h3>
                    {% include 'SsoHelpBundle:UserSearch:xml/advanced.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="#collapseExamples">
                        Examples
                    </a>
                </h4>
            </div>
            <div id="collapseExamples" class="panel-collapse collapse">
                <div class="panel-body">
                    {% include 'SsoHelpBundle:UserSearch/xml/examples:advanced.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="#collapseAdvancedResponse">
                        Response Success Example
                    </a>
                </h4>
            </div>
            <div id="collapseAdvancedResponse" class="panel-collapse collapse">
                <div class="panel-body">
                    <h3>Response Success Example:</h3>
                    {% include 'SsoHelpBundle:UserSearch/xml/response:advanced.html.twig' %}
                </div>
            </div>
        </div>

    </div>

{% endblock %}
