{% extends 'layout.twig' %}

{% block body %}

	<div class="contenu clearfix"  id="Consultation">
	
		<h1>{{ 'Consultations' | trad }}</h1>
		
		{{ ariane() }}

		<header class="bs-row">
			<h2 class="bs-col" style="position:relative;">
				{{ consultation.OBJET_AO }} {{ 'créé le' | trad }} {{ consultation.DTE_AO | dateTrad }} {% if AOEventCreat.NOM %} {{ 'par' | trad }} {{ AOEventCreat.NOM }} {% endif %}

				
			</h2>
			<div class="bs-col text-right">
				{{ menuContextuel(false, false, menuContextuel, 5) }}
			</div>
		</header>

        <div class="padding15">
        	
            {% include '@Consultation/Consultation/block_entete.twig' with {withNavbar: true} %}

			<div>
				{% block tab %}
					{% if onglet == '' %}
						{% include '@Consultation/Consultation/tab_Ligne.twig' with {withNavbar: true} %}
					{% else %}
						{% include '@Consultation/Consultation/tab_'~onglet~'.twig' with {withNavbar: true} %}      
					{% endif %}
            	{% endblock %}
        	</div>
        	
    	</div>
		
	</div>
	{{ specifique('Consultation\\ConsultationActions', 'generateConsolidationLink', {container: container, consultation: consultation}) }}
{% endblock %}