<div class="object__wrapper object__item__section">
<div class="object__wrapper__title object__wrapper__title--mb-20">{{ ('T_ANTIQUE_BASIC_INFORMATION')|trans({}, 'openform_front', app.request.locale) }}:</div>
<div class="object__wrapper__list">
{% if entity.Translation[app.request.locale].title %}
<div class="object__item-wrap object__item-wrap--title">
<h3 class="object__item-wrap__title">{{ ('T_ANTIQUE_TITLE_WORK')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{{ entity.Translation[app.request.locale].titleHtml|raw }}
</div>
</div>
{% endif %}
{% if entity.Artist|length > 0 and parentPage.antiqueFormDesign != 'ARCHIVE' %}
<div class="object__item-wrap">
<h3 class="object__item-wrap__title">{{ ('T_ANTIQUE_AUTHOR')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{% for artist in entity.Artist %}
<a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?artist={{ artist.fullName }}">
{{ artist.fullName ? artist.fullName }}
{{ artist.authorNickName ? '"' ~ artist.authorNickName ~ '"'}}
</a>
{{ entity.Artist|length > 1 ? ', ' }}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.Artist|length > 0 %}
<div class="object__item-wrap">
<h3 class="object__item-wrap__title">{{ ('T_ANTIQUE_DATE')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{% include('@openform_front_templates/AntiqueSuit/_templates/_fields/_dates_and_ages.html.twig') with {
'dateFrom': entity.date,
'dateTo': entity.dateTo,
'ageFrom': entity.age,
'ageTo': entity.ageTo,
'yearFrom': entity.year ?? entity.shownObjectYear,
'yearTo': entity.yearTo ?? entity.shownObjectAge,
} %}
</div>
</div>
{% endif %}
{% if entity.AntiqueType|length > 0 %}
<div class="object__item-wrap">
<h3 class="object__item-wrap__title">{{ ('T_OBJECT_TYPE')|trans({}, 'openform_front', app.request.locale) ~ ': ' }}</h3>
<div class="object__item-wrap__text">
{% for key, item in entity.AntiqueType %}
<a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueType={{ item.Translation[app.request.locale].title }}">
{{ item.Translation[app.request.locale].title }}
</a>
{% if not loop.last %},{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.AntiqueTechnique|length > 0 %}
<div class="object__item-wrap">
<h3 class="object__item-wrap__title">{{ ('T_MATERIALS_AND_TECHNIQUES')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{% for item in entity.AntiqueTechnique %}
<a href="{{ toolkit_route_localizer.generate('search', {}, app.request.locale) }}?antiqueTechnique={{ item.Translation[app.request.locale].title }}">
{{ item.Translation[app.request.locale].title ? item.Translation[app.request.locale].title }}
</a>
{% if not loop.last %},{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if entity.AntiqueSuit %}
<div class="object__item-wrap">
<h3 class="object__item-wrap__title">{{ ('T_ANTIQUE_COLLECTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{% set href = toolkit_route_localizer.generate('antique_suit_item', {'slug': entity.AntiqueSuit.Translation[app.request.locale].slug}, app.request.locale) %}
<a href="{{ href }}">{{ entity.AntiqueSuit.Translation[app.request.locale].title }}</a>
</div>
</div>
{% endif %}
</div>
{% if entity.Translation[app.request.locale].text2 %}
<div class="object__item-wrap object__item-wrap--description">
<h3 class="object__item-wrap__title">{{ ( parentPage.antiqueFormDesign != 'ARCHIVE' ? 'T_ANTIQUE_DESCRIPTION' : 'T_ANTIQUE_MAIN_DESCRIPTION')|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{{ entity.Translation[app.request.locale].text2|raw }}
</div>
</div>
{% endif %}
{% if entity.Translation[app.request.locale].description %}
<div class="object__item-wrap object__item-wrap--description">
<h3 class="object__item-wrap__title">{{ ( 'T_ANTIQUE_SUPPLEMENTARY_DESCRIPTION' )|trans({}, 'openform_front', app.request.locale) }}:</h3>
<div class="object__item-wrap__text">
{{ entity.Translation[app.request.locale].description|raw }}
</div>
</div>
{% endif %}
</div>