xref: /webtrees/resources/views/modules/edit-block-config.phtml (revision a34b54dc84837d4fd1e3b55dfaf41e1761acb658)
1<?php use Fisharebest\Webtrees\I18N; ?>
2
3<h2 class="wt-page-title">
4    <?= $title ?>
5</h2>
6
7<p>
8    <?= $block->description() ?>
9</p>
10
11<form method="post">
12    <input type="hidden" name="save" value="1">
13    <?= csrf_field() ?>
14
15    <?= $block->editBlockConfiguration($tree, $block_id) ?>
16
17    <div class="row form-group">
18        <div class="offset-sm-3 col-sm-9">
19            <button type="submit" class="btn btn-primary">
20                <?= view('icons/save') ?>
21                <?= I18N::translate('save') ?>
22            </button>
23            <a class="btn btn-secondary" href="<?= e($cancel_url) ?>">
24                <?= view('icons/cancel') ?>
25                <?= I18N::translate('cancel') ?>
26            </a>
27        </div>
28    </div>
29</form>
30