xref: /webtrees/resources/views/edit-blocks-block.phtml (revision 7c2c99fad7cacd17c98be88238ff735d82c6351b)
1efbc3a0cSGreg Roach<?php
2efbc3a0cSGreg Roach
3efbc3a0cSGreg Roachuse Fisharebest\Webtrees\I18N;
4*7c2c99faSGreg Roachuse Fisharebest\Webtrees\Module\ModuleBlockInterface;
5*7c2c99faSGreg Roach
6*7c2c99faSGreg Roach/**
7*7c2c99faSGreg Roach * @var ModuleBlockInterface $block
8*7c2c99faSGreg Roach * @var int|string           $block_id
9*7c2c99faSGreg Roach */
10efbc3a0cSGreg Roach
11efbc3a0cSGreg Roach?>
12efbc3a0cSGreg Roach
13efbc3a0cSGreg Roach<div class="card wt-block" id="block-<?= e($block_id) ?>">
14efbc3a0cSGreg Roach    <div class="card-header wt-block-header p-2 d-flex justify-content-between">
15efbc3a0cSGreg Roach        <div>
16efbc3a0cSGreg Roach            <input type="hidden" name="blocks[]" value="<?= e($block_id) ?>">
17efbc3a0cSGreg Roach
18efbc3a0cSGreg Roach            <span class="drag-handle">
19efbc3a0cSGreg Roach                <?= view('icons/drag-handle') ?>
20efbc3a0cSGreg Roach            </span>
21efbc3a0cSGreg Roach
2233c1fdc1SGreg Roach            <span title="<?= I18N::translate('Block') ?> <?= e($block_id) ?>">
23efbc3a0cSGreg Roach                <?= $block->title() ?>
2433c1fdc1SGreg Roach            </span>
25efbc3a0cSGreg Roach        </div>
26efbc3a0cSGreg Roach
27efbc3a0cSGreg Roach        <div>
28efbc3a0cSGreg Roach            <span title="<?= I18N::translate('Delete') ?>">
29efbc3a0cSGreg Roach                <?= view('icons/delete') ?>
30efbc3a0cSGreg Roach            </span>
31efbc3a0cSGreg Roach
32efbc3a0cSGreg Roach            <span title="<?= e($block->description()) ?>">
33efbc3a0cSGreg Roach                <?= view('icons/help') ?>
34efbc3a0cSGreg Roach            </span>
35efbc3a0cSGreg Roach        </div>
36efbc3a0cSGreg Roach    </div>
37efbc3a0cSGreg Roach</div>
38