Enable rte-content on hotel detail page

This commit is contained in:
Björn Fromme
2022-03-07 16:52:09 +01:00
parent b0598fd415
commit a4a24e1e4b
@@ -14,25 +14,27 @@
{hotel.description -> f:format.html()}
</div>
</div>
<f:if condition="{product.bookable}">
<h2>Buchungsoptionen</h2>
<div class="ajax-content-wrapper"
data-controller="ajax-content"
data-ajax-content-uri-value="{ep:uri.ajax(action: 'pricetableHtml', controller: 'AjaxTable', pageUid: settings.defaultAjaxUid, arguments: '{product: product, hotel: hotel}', format: 'html')}">
<div class="ajax-content" data-ajax-content-target="container"></div>
<div data-ajax-content-target="trigger">
<f:image src="EXT:ep_theme/Resources/Public/images/ajax-loader-white.gif" alt="Loading" title="Loading"/>
<div data-rte-content>
<f:if condition="{product.bookable}">
<h2>Buchungsoptionen</h2>
<div class="ajax-content-wrapper"
data-controller="ajax-content"
data-ajax-content-uri-value="{ep:uri.ajax(action: 'pricetableHtml', controller: 'AjaxTable', pageUid: settings.defaultAjaxUid, arguments: '{product: product, hotel: hotel}', format: 'html')}">
<div class="ajax-content" data-ajax-content-target="container"></div>
<div data-ajax-content-target="trigger">
<f:image src="EXT:ep_theme/Resources/Public/images/ajax-loader-white.gif" alt="Loading" title="Loading"/>
</div>
</div>
</div>
</f:if>
<h2>Ausstattung</h2>
{hotel.features -> f:format.html()}
<h2>Zimmerarten / Apartments</h2>
{hotel.roomTypes -> f:format.html()}
<f:if condition="{hotel.additionalInformation}">
<h2>Zusatzinformationen</h2>
{hotel.additionalInformation -> f:format.html()}
</f:if>
</f:if>
<h2>Ausstattung</h2>
{hotel.features -> f:format.html()}
<h2>Zimmerarten / Apartments</h2>
{hotel.roomTypes -> f:format.html()}
<f:if condition="{hotel.additionalInformation}">
<h2>Zusatzinformationen</h2>
{hotel.additionalInformation -> f:format.html()}
</f:if>
</div>
</f:section>
</html>