xref: /webtrees/resources/views/modules/edit-block-config.phtml (revision 4947e7089adb08f24bf1eef67994a106a8df60aa)
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                <?= view('icons/save') ?>
22                <?= I18N::translate('save') ?>
23            </button>
24            <a class="btn btn-secondary" href="<?= e($cancel_url) ?>">
25                <?= view('icons/cancel') ?>
26                <?= I18N::translate('cancel') ?>
27            </a>
28        </div>
29    </div>
30</form>
31