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