{% extends 'contacts/contact_entete.inc.html.twig' %}
{% block content %}
<main class="tc-desktop-2_3 tc-phone-1_1">
<section class="tc-panel tc-panel-article">
{% if biotxt is defined and biotxt %}
<div class="tc-panel-header">
{% if biotxt.title is defined and biotxt.title %}
<h2>{{ biotxt.title|raw }}</h2>
{% endif %}
{% if biotxt.subtitle is defined and biotxt.subtitle %}
<h3>{{ biotxt.subtitle|raw }}</h3>
{% endif %}
{% if biotxt.deck is defined and biotxt.deck %}
<div class="chapeau">{{ biotxt.deck|raw }}</div>
{% endif %}
</div>
<div class="tc-panel-body">
<div class="tc-block tc-block-article">
{% if biotxt.media is defined and biotxt.media %}
{% for media in biotxt.media %}
<a name="video"></a>
{% include 'multimedias.inc.html.twig' %}
{% endfor %}
{% endif %}
{% if biotxt.text is defined and biotxt.text %}
<div class="tc-block-body tc-block-content-custom">
{{ biotxt.text|raw }}
{% if biotxt.link is defined and biotxt.link %}
<p><a href="{{ biotxt.link }}" title="{{ biotxt.linktitle }} (Nouvelle fenêtre)" onclick="window.open(this.href); return false;">{{ biotxt.linktitle }}</a></p>
{% endif %}
{% if biotxt.writer is defined and biotxt.writer %}
<p class="tc-color-red tc-right">{{ biotxt.writer|raw }} </p>
{% endif %}
{% if biotxt.date is defined and biotxt.date %}
<p>{{ biotxt.date }} </p>
{% endif %}
</div>
{% endif %}
{% if object_rights.select is not defined or (object_rights.select is defined and not object_rights.select) %}
<div class="tc-block-footer tc-border-top">
<p class="tc-textwrap-lieuville tc-text-label">
{% if biotxt.dateupdate_lng is defined and biotxt.dateupdate_lng %}
Présentation mise à jour le {{ biotxt.dateupdate_lng }}
{% else %}
Dernière modification : {{ biotxt.dateinsert_lng }}
{% endif %}
</p>
</div>
{% endif %}
</div>
{% include 'includes/pdfs.inc.html.twig' with {'detailarticle': biotxt} %}
</div>
</section>
{% endif %}
</main>
{% endblock %}