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