{# Address book widget to use on view entity pages #} {% import '@OroUI/macros.html.twig' as UI %} {% set addressBookOptions = { module: 'oroaddress/js/app/components/address-book-widget-component', options: { wid: app.request.get('_wid'), addresses: render(addressListUrl), addressListUrl: addressListUrl, addressCreateUrl: addressCreateUrl, addressUpdateRoute: { route: addressUpdateRoute, params: { (ownerParam): entity.id, } }, addressDeleteRoute: { route: addressDeleteRoute, params: { (ownerParam): entity.id, } }, isAddressHtmlFormatted: true } } %}