feat: fetch additional content from cms via api
This commit is contained in:
@@ -45,7 +45,16 @@
|
||||
|
||||
{# Travel Information #}
|
||||
<div class="mb-6 pb-4 border-b border-gray-200">
|
||||
<h4 class="font-semibold text-lg mb-3 text-gray-800">Reiseinformationen</h4>
|
||||
{% if cmsData.hotel.images is defined %}
|
||||
<img src="{{ cmsData.hotel.images.resized.l[0].url }}" alt="{{ cmsData.hotel.images.resized.s[0].alt }}" class="w-full rounded mb-4">
|
||||
{% endif %}
|
||||
{% if cmsData.hotel.address is defined %}
|
||||
<address>
|
||||
{{ cmsData.hotel.name }}
|
||||
<br>
|
||||
{{ cmsData.hotel.address | nl2br }}
|
||||
</address>
|
||||
{% endif %}
|
||||
<div class="space-y-2 text-sm text-gray-600">
|
||||
<div><span class="font-medium">Reise:</span> {{ bookingCreateDto.travel.label }}</div>
|
||||
<div><span class="font-medium">Zeitraum:</span> {{ bookingCreateDto.travel.dateFrom|date('d.m.Y') }} - {{ bookingCreateDto.travel.dateTo|date('d.m.Y') }}</div>
|
||||
|
||||
Reference in New Issue
Block a user