xref: /webtrees/resources/views/tree-page-block.phtml (revision 84586c024c68dbfa3b15df636ed2b74037428442)
1<?php if ($block->loadAjax()) : ?>
2    <div class="wt-ajax-load" data-ajax-url="<?= e(route('tree-page-block', ['ged' => $tree->getName(), 'block_id' => $block_id])) ?>">
3    </div>
4<?php else : ?>
5    <?= $block->getBlock($tree, $block_id) ?>
6<?php endif ?>
7