templates/frontend/board/show.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}Гишүүний мэдээлэл{% endblock %}
{% block body %}
<div class="lg:w-[1280px] mx-auto">
<h5 class="border-b-4 border-gray-200 py-2 font-bold mb-8">{{ 'board.title_detail' | trans }}</h5>
<div class="flex gap-8">
<div class="flex-shrink-0">
<img class="w-[250px]" src="{{ asset(board.image) }}">
</div>
<div class="space-y-3 flex-grow">
<div><b>{{ 'board.name' | trans }} :</b> {{ board.translate(app.request.locale, false).title }}</div>
<div><b>{{ 'board.position' | trans }} :</b> {{ board.translate(app.request.locale, false).position }}
</div>
<div class="html-content ">
{% if board.translate(app.request.locale, false).detail %}
{{ board.translate(app.request.locale, false).detail | raw }}
{% else %}
{{ include('common/_empty.html.twig') }}
{% endif %}
</div>
</div>
</div>
<h5 class="border-b-4 border-gray-200 py-2 font-bold my-8">{{ 'board.other' | trans }}</h5>
{% include 'frontend/board/_related.html.twig' with {'boards' : boards, 'exclude': board.id} %}
</div>
{% endblock %}