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