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