xref: /webtrees/resources/views/edit-blocks-block.phtml (revision a6656bb5f7cff260502deaf88d26942745ca1e1e)
1<?php
2
3use Fisharebest\Webtrees\I18N;
4
5?>
6
7<div class="card wt-block" id="block-<?= e($block_id) ?>">
8    <div class="card-header wt-block-header p-2 d-flex justify-content-between">
9        <div>
10            <input type="hidden" name="blocks[]" value="<?= e($block_id) ?>">
11
12            <span class="drag-handle">
13                <?= view('icons/drag-handle') ?>
14            </span>
15
16            <span title="<?= I18N::translate('Block') ?> <?= e($block_id) ?>">
17                <?= $block->title() ?>
18            </span>
19        </div>
20
21        <div>
22            <span title="<?= I18N::translate('Delete') ?>">
23                <?= view('icons/delete') ?>
24            </span>
25
26            <span title="<?= e($block->description()) ?>">
27                <?= view('icons/help') ?>
28            </span>
29        </div>
30    </div>
31</div>
32