xref: /webtrees/resources/views/tree-page-block.phtml (revision dd6b2bfcc550270bb6d6778e11576148f71e4330)
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