xref: /webtrees/resources/views/modules/clippings/add-options.phtml (revision 71239cb694d278d044f33328daaa60c8ed7431e9)
1<?php use Fisharebest\Webtrees\Bootstrap4; ?>
2<?php use Fisharebest\Webtrees\FontAwesome; ?>
3<?php use Fisharebest\Webtrees\I18N; ?>
4
5<h2 class="wt-page-title"><?= $title ?></h2>
6
7<form class="wt-page-options wt-page-options-clippings d-print-none" method="post">
8    <?= csrf_field() ?>
9
10    <div class="row form-group">
11        <div class="col-sm-3 col-form-label wt-page-options-label">
12            <?= I18N::translate('Add to the clippings cart') ?>
13        </div>
14        <div class="col-sm-9 wt-page-options-value">
15            <?= Bootstrap4::radioButtons('option', $options, $default, false, []) ?>
16        </div>
17    </div>
18
19    <div class="row form-group">
20        <div class="col-sm-3 wt-page-options-label"></div>
21        <div class="col-sm-9 wt-page-options-value">
22            <button type="submit" class="btn btn-primary">
23                <?= FontAwesome::decorativeIcon('save') ?>
24                <?= /* I18N: A button label. */ I18N::translate('continue') ?>
25            </button>
26
27            <a class="btn btn-secondary" href="<?= e($record->url()) ?>">
28                <?= FontAwesome::decorativeIcon('cancel') ?>
29                <?= /* I18N: A button label. */ I18N::translate('cancel') ?>
30            </a>
31        </div>
32    </div>
33</form>
34