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